LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2010, 11:50 PM   #1
hpk
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Thumbs up Kubuntu 10.10 installation messed up grub


I have used openSUSE for a long time, but was trying to install Kubuntu 10.10 in addition to opensuse 11.3 and Windows 7 on a Gateway desktop (1500 GB hard disk & an external drive with 1000 GB.

From the CD with the isoimage I got the live version and then decided to press install. I chose to follow the suggested choice of partition: About half of the external drive (500 GB) was allocated to Kubuntu while the internal hard drive contained Windows 7 and opensuse.

Everything went well until I was asked to restart the computer. I got a black screen with the message:

error: no such device: 64e3ffcl-c003-482a-87f3-89489e5e067d.
grub rescue>

At this point the only command that will not respond with
Unknown command ..

is 'ls' which gives:

(hd0) (hd0,msdos9) ... (hd0,msdos1) (hd1) (hd1,msdos2) (hd1,msdos1) (fd0) (fd1)

I am now ***completely lost***. The only step that gets me out of this screen is ctrl-alt-del which causes a reboot and brings me back into the same situation. The ***computer is useless*** until this is resolved.

Hopefully somebody can help.

HPK

PS. It seems something goes wrong with grub. Before playing with Kubuntu I used to get a screen with the options:

openSuse
openSuse (failsafe)
Windows

with the first one being the default.
 
Old 10-15-2010, 07:26 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
you need to use the Kubuntu livecd to reinstall grub and resetup grub
https://help.ubuntu.com/community/Grub2
 
Old 10-15-2010, 12:15 PM   #3
hpk
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Angry

Thank you!

I have run the live cd again and did get to a login screen. But unfortunately I may have mistyped something during the password setup so that I could not log in. After this I have run the entire installation process twice more, each time ending up with the same error
'no such device: 8053db....'.

Could it be that there is something unstable in my live cd or perhaps my equipment?

Would it help if I first tried the with installation dvd for openSuse to correct the grub problem?
 
Old 10-15-2010, 12:46 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
if you can boot off the livecd, use a file manager to mount the partition where Kubuntu is installed, then edit both the /boot/grub/grub.cfg and /etc/fstab

use the command blkid to find out the UUID of your drives

sudo blkid

do that in terminal
if say your Kubuntu install is on sda2 and blkid output says sda2 is UUID 2837092903mmff or whatever the number is
put that number in the /boot/grub/grub.cfg and /etc/fstab

so here's my blkid output
Code:
[root@nfluxos64 ~]# blkid
/dev/sda1: UUID="e6adb195-3201-42f0-b6d6-f175abe1912c" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda2: UUID="164d8b87-a312-4852-98f4-2eb07f1ae655" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda3: UUID="4838de66-9b8d-4f4e-be99-87d40b4ff06c" TYPE="ext2" 
/dev/sda5: UUID="b9563053-7346-44fc-a059-c9b65bdf9751" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda6: UUID="3f98a963-3e39-4780-94e9-8b728cfb0f07" TYPE="swap" 
/dev/sda7: UUID="9a3a9fca-1add-4643-8312-a6c3e306f79a" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda8: UUID="c43d5bb2-cd9d-4ff8-bbbf-320cbcec0267" TYPE="ext3" SEC_TYPE="ext2" 
/dev/sda9: UUID="3384cd0c-693b-4f62-ac68-17e5a99fd2af" TYPE="ext3" 
/dev/sda10: UUID="e5df6920-ef16-4f12-8138-c8415d7a1262" SEC_TYPE="ext2" TYPE="ext3"
so I have Ubuntu 10.10 on sda10 which is UUID e5df6920-ef16-4f12-8138-c8415d7a1262

looking at your /boot/grub/grub.cfg you gotta edit it for the UUID number as below in blue

Code:
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set e5df6920-ef16-4f12-8138-c8415d7a1262
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set e5df6920-ef16-4f12-8138-c8415d7a1262
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
and in the entry itself
Code:
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,msdos10)'
	search --no-floppy --fs-uuid --set e5df6920-ef16-4f12-8138-c8415d7a1262
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=e5df6920-ef16-4f12-8138-c8415d7a1262 ro   quiet splash
	initrd	/boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,msdos10)'
	search --no-floppy --fs-uuid --set e5df6920-ef16-4f12-8138-c8415d7a1262
	echo	'Loading Linux 2.6.35-22-generic ...'
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=e5df6920-ef16-4f12-8138-c8415d7a1262 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-22-generic
}
then edit /etc/fstab and amke sure the UUID matches the real one

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
UUID=e5df6920-ef16-4f12-8138-c8415d7a1262 /               ext3    errors=remount-ro,noatime 0       1
UUID=4a41bf0c-1758-4021-bde1-6e97c085830b none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
after editing that try to see if it boots, though you may have to also edit the initrd...
see here too
https://help.ubuntu.com/community/Fstab

https://help.ubuntu.com/community/UsingUUID

post back if it's still freaked out
if it does boot backup your grub.cfg somewhere and run "update-grub" as root
 
Old 10-16-2010, 06:10 PM   #5
hpk
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks again.

In the meantime I decided to backup and then overwrite all (suse) linux partitions. This worked so far. Still have to see whether the dual boot with Windows will work. If not I will try to follow your suggestions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Messed up GRUB michalng Debian 4 12-16-2009 06:26 PM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 07:53 PM
New fedora core 6 installation, messed up grub abstracted Fedora - Installation 5 05-10-2007 08:23 AM
Messed up grub mrurmil Linux - General 3 02-18-2006 07:46 PM
ubuntu and kubuntu messed with my sound on mac. Dark_Sniper* Linux - Laptop and Netbook 0 06-17-2005 08:38 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration