No bootable partition after Ubuntu install

Karl Larsen k5di at zianet.com
Sun Apr 6 11:33:16 UTC 2008


SYNass IT Ubuntu / Linux wrote:
> 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 !? ;-)
>
>
>   
    Your right but that is why I asked him to replace the one I provided 
with the one from his system that will have the proper things.

    But a better way is for him to just mount his Ubuntu on the Linux 
that has the Grub on it and then copy what he has in /boot/grub/menu.lst 
to the one on the master Linux. That will work just fine.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list