[TriLUG] [eee] post-install, grub OK from external stick but not from internal SSD
Joseph Mack NA3T
jmack at wm7d.net
Thu Apr 24 09:22:49 EDT 2008
On Thu, 24 Apr 2008, Tom Roche wrote:
> (hd0) /dev/sda
kernel device /dev/sda is known as (hd0) by the BIOS
> * SSD's /boot/grub/menu.lst has
>
> title Normal Boot
> root (hd0,0)
this line is redundant, you have a root option in the next
line
> kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll
> root=/dev/sda1
you don't have a disk here. Presumably grub will default to
(hd0,0). It would be better to explicitely state a disk.
kernel (hd0,0)/boot/vm.....
> initrd /boot/initramfs-eeepc.img
no disk here either
> and no stanzas for booting from USB.
>
> * stick's /boot/grub/menu.lst has
>
> title Ubuntu 7.10, kernel 2.6.22-14-generic
> root (hd0,0)
mount /dev/sda1 as root after booting
> kernel /boot/vmlinuz-2.6.22-14-generic
again no disk specified. presumably will boot from (hd0,0)
> root=UUID=45037d5d-b0f4-4d19-b00c-4f4aebc84a02 ro quiet splash
you risk a collision with the root line above. This seems a
complicated and error prone way of describing a disk. Is
there a reason you don't want /dev/sda1 or (hd0,0)?
> initrd /boot/initrd.img-2.6.22-14-generic
> quiet
>
> and
>
> # This entry automatically added by the Debian installer for an existing
> # linux installation on /dev/sda1.
> title Normal Boot (on /dev/sda1)
> root (hd1,0)
does the BIOS know about (hd1,0)? is it in device.map? I
assume it's your flash stick and will be /dev/sdc1 after the
kernel boots.
> kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll
> root=/dev/sda1
boot from (hd0,0), mount /dev/sda1 as root, which collides
with the /dev/sdc1 above
> initrd /boot/initramfs-eeepc.img
again no disk specified. presumably will mount initrd from
(hd0,0)
Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
More information about the TriLUG
mailing list