Can't boot from /boot/grub/menu.lst entry for SW13
I installed(full)SW13 to /dev/hdb6 (aka/dev/sdb6) the 2nd (sata) disk on my pc. lilo was put in root partition and I'm trying to edit Ubuntu's grub/menu.lst to boot SW13. Trying chainloader method asks for kernel.
Trying Title SW13 (on/dev/hdb6 or /dev/sdb6) then root (hd1,5) and kernel /boot/vmlinuz-generic-smp-2.6.29 root=/dev/hdb6 (or /dev/sdb6) ro then initrd (hd1,5)/boot/initrd.img give me file not found error. I'm assuming the full install includes the initrd image. Did I miss something? The installer did not ask if I wanted to do a mkinitrd. Thanx. |
Quote:
Code:
vmlinuz-generic-smp-2.6.29.6-smp Quote:
|
Run this as root in the terminal:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh |
Oh, then add a line to the entry for the generic kernel in your menu.list.
initrd /boot/initrd.gz |
So If I boot the install cd I login as root, cd to /boot and run command mkinitrd -c -k generic-smp-2.6.29.6-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hdb6 for ext3 root partition? Then edit /etc/lilo.conf to include initrd = /boot/initrd.gz and run # lilo. Then I can edit the /boot/grub/menu.lst in ubuntu and add SW13. Is that about it? This the 1st time trying the mkinitrd command in more than 8yrs of using linux. Thx for your patient response.
|
brianL running that /usr/share...generator.sh said could not find error when I booted default hugesmp.s kernel and logged in as root. Cd to /usr/share and ls -aF doesn't show any mkinitrd file. Should I boot with vmlinuz-generic-smp-2.6.29.6-smp kernel instead? Thx. And cd /boot didn't work to try the readme file way.
|
The correct syntax would be:
Code:
mkinitrd -c -k generic-2.6.29.6-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hdb6 |
Ah, I should have mentioned running this before running the mkinitrd_command_generator.sh:
Code:
chmod +x /usr/share/mkinitrd/mkinitrd_command_generator.sh |
I tried booting huge kernel(default) then as root cd /boot doesn't work. # cd / ls -aF shows @boot no /boot. Tried /mnt /dev/hdd(install dvd) and it wont so I can do the readme.initrd installpkgs and mkinitrd..... steps. What am I missing here? I did do full install without error messages.
|
After # /mnt /dev/hdb6--it's been so long- I can cd /boot but mkinitrd step says something about missing candidate. Installpkg for kernel* kernel-modules and mkinitrd are no go too. # cd /usr/share has nothing about mkinitrd too. This has got to be simpler:( Thx.
|
Have you tried to boot manually..?
from the grub prompt (you can enter this by pressing c after given menu by grub from e.g. Ubuntu) Code:
grub> root (hd1,5) Code:
grub> geometry (hd0) Code:
grub> geometry (hd1) Code:
grub> kernel /boot/ your stanza will be: Code:
grub > kernel /boot/vmlinuz root=/dev/sdb6 ro Code:
grub > boot or you can chainload if lilo installed in root /dev/sdb6 Code:
grub > root (hd1,5) Code:
grub > chainloader +1 Code:
grub > boot HTH PS: I have tried this one, for me i add 'rootdelay=10' option since I use USB HDD |
Is this an ext4 filesystem? If so grub can not boot an ext4 filesystem.
|
Thx for replies. Booting now(with default huge kernel) into SW13 using Ubuntu's /boot/grub/menu.lst entry of
Title Linux (on /dev/sdb6) root (hd1,5) chainloader +1 boot and selecting SW from lilo menu. Can be marked as solved pls:) |
you can mark it using thread tools since you are OP.
|
done thx
|
All times are GMT -5. The time now is 04:22 AM. |