Skocz do zawartości

Grub.conf


MC'

Rekomendowane odpowiedzi

Witam,

Mam na dysku /dev/hde4 Linuksa, nistety reinstalowałem sobie fedorkę i również /etc/gub.conf'a mam od nowa. Chcę abym mógł go sobie przy starcie kompa uruchamia ć więc zrobiłem ten drugi wpis

 

title Fedora Core (2.6.14-1.1656_FC4)
       root (hd0,0)
       kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/12 rhgb quiet
       initrd /boot/initrd-2.6.14-1.1656_FC4.img

      title llinuszek
       root (hd0, 3)
       kernel /boot/kernel-2.6.11.12 root=/dev/hde4

 

niestety przy wybraniu linuszka przy boocie krzyczy, że:

Booting 'linuszek'
root(hd0, 3)
Error 11: Unrecognized device string.

.

Więć dalej

#fdisk -l /dev/hde
Disk /dev/hde: 20.4 GB, 20404101120 bytes
255 heads, 63 sectors/track, 2480 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1         851     6835626   83  Linux
/dev/hde2             852        1204     2835472+   5  Extended
/dev/hde3            1205        1994     6345675   83  Linux
/dev/hde4            1995        2480     3903795   83  Linux
/dev/hde5             852         900      393561   82  Linux swap / Solaris
/dev/hde6             901        1022      979933+  83  Linux
/dev/hde7            1023        1204     1461883+  83  Linux

 

i dalej

#grub
grub> root (hd0,3)
Filesystem type is ext2fs, partition type 0x83
grub> info (hd0,
Possible partitions are:
  Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
  Partition num: 2,  Filesystem type is ext2fs, partition type 0x83
  Partition num: 3,  Filesystem type is ext2fs, partition type 0x83
  Partition num: 4,  Filesystem type unknown, partition type 0x82
  Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
  Partition num: 6,  Filesystem type is ext2fs, partition type 0x83

... . Nie bardzo wiem teraz co powinienem zrobić by mi ten system grub bootował unsure.gif

Odnośnik do komentarza
Udostępnij na innych stronach

 

#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.16-1.2080_FC5)
root (hd0,7)
kernel /boot/vmlinuz-2.6.16-1.2080_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.16-1.2080_FC5.img
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title WinXP
rootnoverify (hd0,0)
chainloader +1

#=====================================================================dopisane

title  Ubuntu, kernel 2.6.12-10-k7 
root  (hd0,3)
kernel  /boot/vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro quiet splash
initrd  /boot/initrd.img-2.6.12-10-k7
savedefault
boot

title  Ubuntu, kernel 2.6.12-10-k7 (recovery mode)
root  (hd0,3)
kernel  /boot/vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro single
initrd  /boot/initrd.img-2.6.12-10-k7
boot

#====================================================================

# ones.
title  Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title  Microsoft Windows XP Professional
root  (hd0,0)
savedefault
makeactive
chainloader	+1

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...