Jak wyedytować menu.lst?
: 30 lipca 2007, 17:24
Podjąłem decyzję że Debian zawita w miejsce MS Windows na moim dysku. To rozwiązanie tymczasowe, ale i tak cały dysk jest do przepartycjonowania, a że nie mam póki co jak zrobić backupu danych, a chcę Debiana już teraz, to poleci to na czym mi najmniej zależy 
Do rzeczy. Mam
sda1 - ntfs 10 GB (tu będzie Debian)
sda2 - ext3, /home 80 GB
sda3 - ext3, / 10 GB
sda4 - swap
menu.lst
Debian ma się pojawić w miejscu MS Windows, czyli jak rozumiem (hd0,0).
Z menu.lst mogę wyciąć całość po "### END DEBIAN AUTOMAGIC KERNELS LIST"?
I co mam dodać? Z guglania i wyszukiwarki wyszło mi że pomiędzy ostatnim Ubuntu a memtest powinienem wstawić coś takiego
Czy dobrze?

Do rzeczy. Mam
sda1 - ntfs 10 GB (tu będzie Debian)
sda2 - ext3, /home 80 GB
sda3 - ext3, / 10 GB
sda4 - swap
menu.lst
Kod: Zaznacz cały
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2eac3352-a5dd-4ec4-96bc-de1e5c4b4158 ro quiet splash locale=pl_PL
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2eac3352-a5dd-4ec4-96bc-de1e5c4b4158 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2eac3352-a5dd-4ec4-96bc-de1e5c4b4158 ro quiet splash locale=pl_PL
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2eac3352-a5dd-4ec4-96bc-de1e5c4b4158 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Z menu.lst mogę wyciąć całość po "### END DEBIAN AUTOMAGIC KERNELS LIST"?
I co mam dodać? Z guglania i wyszukiwarki wyszło mi że pomiędzy ostatnim Ubuntu a memtest powinienem wstawić coś takiego
Kod: Zaznacz cały
title Debian GNU/Linux, kernel 2.6.xxx
root (hd0,0)
kernel /boot/vmlinuz-2.6.xxx root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.xxx
savedefault
boot