No bootable partition after Ubuntu install
SYNass IT Ubuntu / Linux
i-ubux at synass.net
Sun Apr 6 05:30:51 UTC 2008
On Sat, 2008-04-05 at 16:51 -0600, Karl Larsen wrote:
> Doctor Who wrote:
> >> To add to that, if I mount /dev/sda1 locally and then look for
> >> /boot/grub/stage1, it *is* there. Just not being seen.
> >>
> >>
> >
> > I take that back...it's not there. That was a fat-finger mistake and
> > I was looking at that from my desktop. So grub is not there.
> >
> > desktop:/mnt/tmp/boot # ls -al
> > total 10576
> > drwxr-xr-x 2 root root 4096 2008-03-19 17:44 .
> > drwxr-xr-x 21 root root 4096 2008-04-05 11:56 ..
> > -rw-r--r-- 1 root root 422387 2008-03-12 21:43 abi-2.6.24-12-generic
> > -rw-r--r-- 1 root root 79746 2008-03-12 21:43 config-2.6.24-12-generic
> > -rw-r--r-- 1 root root 7353114 2008-03-19 17:29
> > initrd.img-2.6.24-12-generic.bak
> > -rw-r--r-- 1 root root 103204 2007-09-28 06:06 memtest86+.bin
> > -rw-r--r-- 1 root root 903816 2008-03-12 21:43 System.map-2.6.24-12-generic
> > -rw-r--r-- 1 root root 1909528 2008-03-12 21:43 vmlinuz-2.6.24-12-generic
> >
> >
> I think he needs to find his /boot/grub/menu.lst and add to that this:
>
> title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.22-14-generic
> root=UUID=a9c1cb61-ddfd-44f6-88b
> 0-6dc976daf9ca ro single
> initrd /boot/initrd.img-2.6.22-14-generic
>
> This should let you boot your Ubuntu. Then look at /boot/grub/menu.lst
> on it and change the above for what you have.
>
> Karl
Karl, how do you get to know this UUID ?
isn't each UUID quite individual ??
If UUID is not known one can use /dev/sd* where ...
... sd* needs to match the respective location !!!
Needs to be checked with blkid as following:
mine at AQUA:~$ blkid
/dev/sda1: UUID="D2C47460C47448AD" LABEL="WS222C_120GB" TYPE="ntfs"
/dev/sda5: LABEL="AQUA Ubuntu 7.10"
UUID="edf0353d-b99b-41d6-b7aa-57fad83fab35" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="2E6F3BB200B81788" LABEL="WS222D_ATA" TYPE="ntfs"
/dev/sda7: LABEL="FiRE Ubuntu 7.10"
UUID="10f72bf8-1357-4a6b-a1ae-bc9b9887c86f" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="19cf20fb-e967-41d9-b993-f0a9ca7829eb" TYPE="swap"
/dev/sda9: UUID="76a67ae2-ba51-4698-ac8d-1382b30e0e57" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sda10: SEC_TYPE="msdos" UUID="47F7-9B3D" TYPE="vfat"
mine at AQUA:~$
So ROOT is either
AQUA with /dev/sda5 or
FiRE with /dev/sda7
or
AQUA with its specific / unique UUID or
FiRE with its specific / unique UIDD too
in the /ETC/fstab !!
Cheers, svobi
PS: System experts, please do correct me if I am wrong !? ;-)
More information about the ubuntu-users
mailing list