FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-13-2012, 09:36 PM
"Joep L. Blom"
 
Default Problem with Grub installing Xubuntu 12.04

I revently got answers toa curious problem I had with the system of my
wife (See mail:"reinstall ubuntu urgent"). It turned out to be a
corrupt xubuntu 11.10 kernel (I even replaced a perfectly good
Sata-cable) mimicking hardware problems.
But the second problem occurs now with Grub. I installed 12.04 over the
old installation (i.e. I installed over the old /root, /var and /local
and also /home but none of them were formatted.
OK installation went like a breeze. However. when I wanted to start it
it first came with the start menu showing all possible installed OSes.

However, when I wanted to start any one of them Grub says:
"error: no such partition" (twice) "Press any key to continue", and when
I do that it comes again with the start menu.
I can of course run xubuntu from a Live USB-stick and I have installed
Boot Info Script to see what Grub is using, That looks perfectly normal
to me. I says:
"Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1
of the same hard drive for core.img. core.img is at this location and
looks for (,msdos1)/boot/grub on this drive."
All other info looks perfectly OK to me. However, I am an ignoramus of
Grub2 (I could work with the menu.conf of Grub Legacy) but I have no
idea how GRUB2 works.
I hope someone with knowledge of GRUB2 can help me out. My wife uses
temporarily again her old Windows XP system and I want to get rid of
that old & buggy system.

Thanks in advance
Joep


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-15-2012, 05:43 PM
NoOp
 
Default Problem with Grub installing Xubuntu 12.04

On 05/13/2012 02:36 PM, Joep L. Blom wrote:
> I revently got answers toa curious problem I had with the system of my
> wife (See mail:"reinstall ubuntu urgent"). It turned out to be a
> corrupt xubuntu 11.10 kernel (I even replaced a perfectly good
> Sata-cable) mimicking hardware problems.
> But the second problem occurs now with Grub. I installed 12.04 over the
> old installation (i.e. I installed over the old /root, /var and /local
> and also /home but none of them were formatted.
> OK installation went like a breeze. However. when I wanted to start it
> it first came with the start menu showing all possible installed OSes.
> However, when I wanted to start any one of them Grub says:
> "error: no such partition" (twice) "Press any key to continue", and when
> I do that it comes again with the start menu.
> I can of course run xubuntu from a Live USB-stick and I have installed
> Boot Info Script to see what Grub is using, That looks perfectly normal
> to me. I says:
> "Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1
> of the same hard drive for core.img. core.img is at this location and
> looks for (,msdos1)/boot/grub on this drive."

Does the 'search.fs_uuid match that shown in the fstab? Example:

> ============================= Boot Info Summary:
===============================
>
> => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at
sector 1 of
> the same hard drive for core.img. core.img is at this location
and uses an
> embedded config file:
>
>
---------------------------------------------------------------------------
> search.fs_uuid c606c2a7-1fb1-403f-9b90-52f5f150340b root
> set
> prefix=($root)/boot/grub--

Do the uuid's in the '"blkid" output:' section match those shown in the
'fstab' section?

If those match, then do a search through the rest of the document for
that specific uuid. You should then find corresponding entries in the
grub.cfg section. Example:

> set root='(/dev/sdb,msdos1)'
> search --no-floppy --fs-uuid --set=root
c606c2a7-1fb1-403f-9b90-52f5f150340b
> if loadfont /usr/share/grub/unicode.pf2 ; then
and
> menuentry 'Ubuntu, with Linux 2.6.38-15-generic' --class ubuntu
--class gnu-linux --class gnu --class os {
> recordfail
> savedefault
> set gfxpayload=$linux_gfx_mode
> insmod part_msdos
> insmod ext2
> set root='(/dev/sdb,msdos1)'
> search --no-floppy --fs-uuid --set=root
c606c2a7-1fb1-403f-9b90-52f5f150340b
> linux /boot/vmlinuz-2.6.38-15-generic
root=UUID=c606c2a7-1fb1-403f-9b90-52f5f150340b ro quiet splash
vt.handoff=7
> initrd /boot/initrd.img-2.6.38-15-generic

> All other info looks perfectly OK to me. However, I am an ignoramus of
> Grub2 (I could work with the menu.conf of Grub Legacy) but I have no
> idea how GRUB2 works.

It might help if you can post your RESULTS.txt output to pastebin:
http://pastebin.ubuntu.com/
and post the url to that pastebin here.
...
Gary


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-15-2012, 09:53 PM
"Joep L. Blom"
 
Default Problem with Grub installing Xubuntu 12.04

On 15-05-12 19:43, NoOp wrote:



Does the 'search.fs_uuid match that shown in the fstab? Example:

> ============================= Boot Info Summary:
===============================
>
> => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at
sector 1 of
> the same hard drive for core.img. core.img is at this location
and uses an
> embedded config file:
>
>
---------------------------------------------------------------------------
> search.fs_uuid c606c2a7-1fb1-403f-9b90-52f5f150340b root
> set
> prefix=($root)/boot/grub--

Do the uuid's in the '"blkid" output:' section match those shown in the
'fstab' section?

If those match, then do a search through the rest of the document for
that specific uuid. You should then find corresponding entries in the
grub.cfg section. Example:

> set root='(/dev/sdb,msdos1)'
> search --no-floppy --fs-uuid --set=root
c606c2a7-1fb1-403f-9b90-52f5f150340b
> if loadfont /usr/share/grub/unicode.pf2 ; then
and
> menuentry 'Ubuntu, with Linux 2.6.38-15-generic' --class ubuntu
--class gnu-linux --class gnu --class os {
> recordfail
> savedefault
> set gfxpayload=$linux_gfx_mode
> insmod part_msdos
> insmod ext2
> set root='(/dev/sdb,msdos1)'
> search --no-floppy --fs-uuid --set=root
c606c2a7-1fb1-403f-9b90-52f5f150340b
> linux /boot/vmlinuz-2.6.38-15-generic
root=UUID=c606c2a7-1fb1-403f-9b90-52f5f150340b ro quiet splash
vt.handoff=7
> initrd /boot/initrd.img-2.6.38-15-generic


It might help if you can post your RESULTS.txt output to pastebin:
http://pastebin.ubuntu.com/
and post the url to that pastebin here.
...
Gary


Gary,
Thanks for your reply!
I assume it's something very trivial but my knowledge of GRUB2 is
scanty. Legacy grub was no problem but this new version is no.

I have paste the complete text of Boot Info Script here;

http://pastebin.ubuntu.com/989766/
Hope you can find clues for me to start my wife's system, as she was
becoming acquainted to this very new (Ubuntu!) system and now she has to
work on her old (slower!) (Windows XP!) system.

Thanks in advance,
Joep




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-15-2012, 11:01 PM
NoOp
 
Default Problem with Grub installing Xubuntu 12.04

On 05/15/2012 02:53 PM, Joep L. Blom wrote:
> On 15-05-12 19:43, NoOp wrote:
...
>>
>> It might help if you can post your RESULTS.txt output to pastebin:
>> http://pastebin.ubuntu.com/
>> and post the url to that pastebin here.
>> ...
>> Gary
>>
> Gary,
> Thanks for your reply!
> I assume it's something very trivial but my knowledge of GRUB2 is
> scanty. Legacy grub was no problem but this new version is no.
> I have paste the complete text of Boot Info Script here;
>> http://pastebin.ubuntu.com/989766/
> Hope you can find clues for me to start my wife's system, as she was
> becoming acquainted to this very new (Ubuntu!) system and now she has to
> work on her old (slower!) (Windows XP!) system.
> Thanks in advance,
> Joep

You sure it's not Win2000? :-)

Anyway, I see that you have Grub2, Syslinux, Grub Legacy installed.
============================= Boot Info Summary:
===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at
sector 1 of the same hard drive for core.img. core.img is at this
location and looks for (,msdos1)/boot/grub on this drive.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub Legacy is installed in the MBR of /dev/sdc and looks at sector
70721 on boot drive #2 for the stage2 file, but no stage2 files can be
found at this location..

Looking at your sda1 /etc/fstab (starting at line 608) it shows:

Boot on:
# / was on /dev/sda1 during installation
UUID=8082b8f5-a462-45a4-aedc-25e2f8a903c3

Home on:
# /home was on /dev/sda5 during installation
UUID=f77b063d-db03-4169-8330-5040d4df2581

/usr on:
# /usr was on /dev/sda6 during installation
UUID=22615e5a-1464-4812-87bd-c59d5505b53f

/usr/local on:
# /usr/local was on /dev/sda7 during installation
UUID=86f09b0e-bd94-45bc-b202-d6a958e377c2

Swap on:
# swap was on /dev/sda9 during installation
UUID=59144d19-ad02-4079-a02e-328ce9e7f2b9

Now looking at the blkid's (starting at line 206):
"blkid" output:
__________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 8082b8f5-a462-45a4-aedc-25e2f8a903c3 ext4
/dev/sda5 f77b063d-db03-4169-8330-5040d4df2581 ext4
/dev/sda6 22615e5a-1464-4812-87bd-c59d5505b53f ext4
/dev/sda7 86f09b0e-bd94-45bc-b202-d6a958e377c2 ext4
/dev/sda8 ffc6e0ff-5ba5-4c7f-a3c1-e19d9aa0044f ext4
/dev/sda9 59144d19-ad02-4079-a02e-328ce9e7f2b9 swap
/dev/sdb1 453E-ED44 vfat Xubuntu11
/dev/sdc1 5EC47E3FC47E1A0B ntfs
WIN_MAIN01
/dev/sdc10 XXgOeu-4hwO-UelY-Inqg-LUDL-xKv4-UUm8HT LVM2_member
/dev/sdc3 6e260304-ea76-11d4-83a9-00600847ecec ext3 linux-2.4
/dev/sdc5 d9a0d286-51f0-11d4-8c4c-9a690c166273 ext3
/dev/sdc6 swap
/dev/sdc7 b7c72ca0-9615-11d4-9e3c-eb0eb4180ab6 ext3
/dev/sdc8 b23ce258-af52-43b4-b1de-7ba7275e9883 ext3 LINUX_03
/dev/sdc9 3B6C-44DB vfat WIN'98_01

And those look OK... until we get to sdb1:
/dev/sdb1 453E-ED44 vfat Xubuntu11
That is a vfat file system (syslinux), but you are showing "Xubuntu11"?
is this where you installed Xubuntu? If so, the boot section would need
to be unencrypted in order to boot.

Mount points are showing sdb1 mount point /cdrom.
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/8082b8f5-a462-45a4-aedc-25e2f8a903c3 ext4
(rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 /cdrom vfat

Now go looking for sdb1:
line 656 sdb1/boot/grub/grub.cfg
"menuentry "Try Xubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper
quiet splash --
initrd /casper/initrd.lz"

etc. etc. Are you trying to boot from sdb1? Does your grub boot message
show which device it can't find?

I'd recommend reinstalling Grub2 to sda via the liveCD:
https://help.ubuntu.com/community/Grub2
https://help.ubuntu.com/community/Grub2/Installing
https://help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2
[Reinstall from the LiveCD]
...
sudo mount /dev/sda1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda
sudo grub-install --recheck /dev/sda
sudo update-grub
sudo reboot

Feel free to contact me off-list directly if you run into problems.

Gary





--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-16-2012, 10:19 PM
"Joep L. Blom"
 
Default Problem with Grub installing Xubuntu 12.04

On 16-05-12 01:01, NoOp wrote:

On 05/15/2012 02:53 PM, Joep L. Blom wrote:

On 15-05-12 19:43, NoOp wrote:

...


Gary


GAry,
Many thanks! I have now a running ubuntu 12.04 and the system behaves
correctly. I simply followed your recipe and it worked. I haven't as yet
removed sbc but I will shortly as I first want my wife working with a
complete system.

Thanks again and we'll meet surely on a later moment,
Greetings,
Joep


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2012, 12:14 AM
NoOp
 
Default Problem with Grub installing Xubuntu 12.04

On 05/16/2012 03:19 PM, Joep L. Blom wrote:
> On 16-05-12 01:01, NoOp wrote:
>> On 05/15/2012 02:53 PM, Joep L. Blom wrote:
>>> On 15-05-12 19:43, NoOp wrote:
>> ...
>>
>>
>> Gary
>
> GAry,
> Many thanks! I have now a running ubuntu 12.04 and the system behaves
> correctly. I simply followed your recipe and it worked. I haven't as yet
> removed sbc but I will shortly as I first want my wife working with a
> complete system.
> Thanks again and we'll meet surely on a later moment,
> Greetings,
> Joep

You are most welcome Joep. May your wife understand all things Unity. :-)




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2012, 05:58 AM
"Joep L. Blom"
 
Default Problem with Grub installing Xubuntu 12.04

On 17-05-12 02:14, NoOp wrote:

On 05/16/2012 03:19 PM, Joep L. Blom wrote:

On 16-05-12 01:01, NoOp wrote:

On 05/15/2012 02:53 PM, Joep L. Blom wrote:

On 15-05-12 19:43, NoOp wrote:




You are most welcome Joep. May your wife understand all things Unity. :-)



Lucky for her it's Xubuntu!.
Joep


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2012, 06:05 AM
Basil Chupin
 
Default Problem with Grub installing Xubuntu 12.04

On 17/05/12 15:58, Joep L. Blom wrote:

On 17-05-12 02:14, NoOp wrote:

On 05/16/2012 03:19 PM, Joep L. Blom wrote:

On 16-05-12 01:01, NoOp wrote:

On 05/15/2012 02:53 PM, Joep L. Blom wrote:

On 15-05-12 19:43, NoOp wrote:




You are most welcome Joep. May your wife understand all things Unity.
:-)




Lucky for her it's Xubuntu!.
Joep


"And so endeth the Lesson." :-)

BC

--
Using openSUSE 12.1 x86_64 KDE on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 09:47 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org