Grub'u yeniden kurmak?

Başlatan Linuxman., 21 Ocak 2010 - 22:02:48

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Linuxman.

Suanda bilgisayarimda 3 isletim sistemi kurulu ;
1)Windows xp = /dev/sda5
2)Ubuntu 9.10 = /dev/sda6
3)Pardus 2009.1 = /dev/sda4

Ubuntu grub'u Xp ile sorunsuz calisiyordu.Pardusu kurmam,diger sistemleri calistiramama sebep oldu.
Sadece Pardus calisiyordu.Ordanda interneti ayarlayamadigim icin(kablolu baglanti oldugu icin sorun cikariyor),kendi basima ubuntu ve xp'yi boot etmeye calistim.Bu seferde Pardusu kaybettim.Yani su an bilgisayarimda 3 sistem kurulu ama hicbirini acamiyorum.Ama acilista (pardus) onyukleyicisi var.
Windowsa girmek istedigimde ise ; hal.dll dosyasi eksik hatasini aliyorum.
Forever Linux....
In theory,there is no difference between theory
and practice.In practice,there is !

Linuxman.

Suanda bir Pardus onyukleyicisi varoldugu icin ;
http://forum.ubuntu-tr.net/index.php/topic,13415.0.html bunlari denememde yarar var midir bilmiyorum.
Pardus grub yoneticisini silmek icinde windows ortaminda fixmbr komutunu kullanabilirim.
Benim su an aklima sadece bunlar geliyor,yardimlarinizi bekliyorum...

Forever Linux....
In theory,there is no difference between theory
and practice.In practice,there is !

Linuxman.

Alıntı yapılan: BayboraKaan - 21 Ocak 2010 - 22:14:29
Bu konuyu incelemiş miydin?

http://forum.ubuntu-tr.net/index.php/topic,13415.0.html

Az once denedim ama Ubuntu diski icin sda4 dedigimi hatirliyorum.Bu yuzden basarili olmamisti.Simdi tekrar deneyecegim ama ondan once Pardus onyukleyicisini silip-silmemem gerektini ogrenmek istiyorum.(?)
Forever Linux....
In theory,there is no difference between theory
and practice.In practice,there is !

keylog

Alıntı yapılan: Linuxman. - 21 Ocak 2010 - 22:20:31
Alıntı yapılan: BayboraKaan - 21 Ocak 2010 - 22:14:29
Bu konuyu incelemiş miydin?

http://forum.ubuntu-tr.net/index.php/topic,13415.0.html

Az once denedim ama Ubuntu diski icin sda4 dedigimi hatirliyorum.Bu yuzden basarili olmamisti.Simdi tekrar deneyecegim ama ondan once Pardus onyukleyicisini silip-silmemem gerektini ogrenmek istiyorum.(?)
Silmene gerek yok, zaten mbr'ye ubuntu'nunkini otomatik olarak yazacaksın, kurulumu sırasında ;)

Linuxman.

#4
root@ubuntu:/# sudo grub-install --recheck /dev/sda
sudo: unable to resolve host ubuntu
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
root@ubuntu:/#


Bir hata olustu gibi?


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : Prş 21 Oca 2010 22:47:14 GMT-2

Evet Ubuntuma kavuştum :) Ama Windows ve Pardus'a henüz değil.
Windows aynı hatayı vermeye devam ediyor.Pardus ise menüde yok.

grub.cfg dosyasının içeriği :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 4d3226b0-500d-4925-aed2-a8384f08ef77
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
   set quiet=1
   insmod ext2
   set root=(hd0,6)
   search --no-floppy --fs-uuid --set 4d3226b0-500d-4925-aed2-a8384f08ef77
   linux   /boot/vmlinuz-2.6.31-14-generic root=UUID=4d3226b0-500d-4925-aed2-a8384f08ef77 ro   quiet splash
   initrd   /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
   insmod ext2
   set root=(hd0,6)
   search --no-floppy --fs-uuid --set 4d3226b0-500d-4925-aed2-a8384f08ef77
   linux   /boot/vmlinuz-2.6.31-14-generic root=UUID=4d3226b0-500d-4925-aed2-a8384f08ef77 ro single
   initrd   /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
   insmod ntfs
   set root=(hd0,1)
   search --no-floppy --fs-uuid --set dcb8d042b8d01cb8
   drivemap -s (hd0) ${root}
   chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###




Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 22 Ocak 2010 - 17:14:18

Kodlardan anladığım kadarıyla Windows diskini sd1 olarak görüyor.Bende sd1 olan yerlere sd5 yazdım.
Ancak dosyayı (root olarak) düzenlememe rağmen kaydedemedim...
Alıntı YapCould not save the file /boot/grub/grub.cfg.
You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again.
Forever Linux....
In theory,there is no difference between theory
and practice.In practice,there is !

Linuxman.

Yaptığım güncellemeler sonucunda Pardus gruba eklendi.Windowstaki hal.dll hatası devam ediyor.

Alıntı YapKodlardan anladığım kadarıyla Windows diskini sd1 olarak görüyor.Bende sd1 olan yerlere sd5 yazdım.Ancak dosyayı (root olarak) düzenlememe rağmen kaydedemedim...
Alıntı
Could not save the file /boot/grub/grub.cfg.
You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try
again.
Forever Linux....
In theory,there is no difference between theory
and practice.In practice,there is !

barış

Biraz geç oldu ama yeni gözüme çarptı.
Windows XP de farklı partitionlara farklı sistemler kurulunca üstüne bir de Windows kurunca, hal32.dll hatası veriyor haliyle. Örneğin ben, openSUSE sonrasında Windows XP kurdum hal32.dll hatası verdi. Acaba şöyle yapılsa çözülür mü?
Önce Windows sonra Linux kurulsa