PDA

View Full Version : [ubuntu] 10.04 Will not boot



jhouse59
May 8th, 2010, 05:16 PM
I've installed Ubuntu 10.04 LTS on a different hard drive. With Windows XP on another. After installing I done a reboot. But, instead of getting grub and the choice to boot into Ubuntu or Windows. It boots into Windows. I found a post in here it said to run a program called boot_info_script. Here is the results from the boot_info_script:


Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Syslinux is installed in the MBR of /dev/sda
=> No boot loader is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/sdc and looks at sector 4498103 of
the same hard drive for core.img, but core.img can not be found at this
location.
=> No boot loader is installed in the MBR of /dev/sdf

sda1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sdb1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sdb3: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sdf1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 490,223,474 490,223,412 7 HPFS/NTFS


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 39,262,859 39,262,797 83 Linux
/dev/sdb2 39,262,860 972,864,269 933,601,410 83 Linux
/dev/sdb3 972,864,270 976,768,064 3,903,795 82 Linux swap / Solaris


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders, total 240121728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System



Drive: sdf ___________________ __________________________________________________ ___

Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdf1 63 1,953,520,064 1,953,520,002 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 325820CD582091A1 ntfs
/dev/sda: PTTYPE="dos"
/dev/sdb1 99b3e2a0-c329-4c3e-b58a-98a81e526f43 ext4
/dev/sdb2 5dc38f23-2f58-4d0e-b6e2-290b31ea87c9 ext4
/dev/sdb3 d05f945e-a6b1-4d3c-8193-6b5b1e2b7c03 swap
/dev/sdb: PTTYPE="dos"
/dev/sdc: PTTYPE="dos"
/dev/sdf1 75F37A680DAEDC75 ntfs Fantom_Drive-1
/dev/sdf: PTTYPE="dos"
error: /dev/sdd: No medium found
error: /dev/sde: No medium found

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb2 /media/5dc38f23-2f58-4d0e-b6e2-290b31ea87c9 ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 /media/99b3e2a0-c329-4c3e-b58a-98a81e526f43 ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda1 /media/325820CD582091A1 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_ permissions)


================================ sda1/boot.ini: ================================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect


=========================== sdb1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=99b3e2a0-c329-4c3e-b58a-98a81e526f43 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=99b3e2a0-c329-4c3e-b58a-98a81e526f43 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdc1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 325820cd582091a1
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

=============================== sdb1/etc/fstab: ===============================

# /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
/dev/sdd1 / ext4 errors=remount-ro 0 1
/dev/sdd2 /home ext4 defaults 0 2
# swap was on /dev/sdd3 during installation
UUID=d05f945e-a6b1-4d3c-8193-6b5b1e2b7c03 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sdb1: Location of files loaded by Grub: ===================


2.3GB: boot/grub/core.img
11.4GB: boot/grub/grub.cfg
2.3GB: boot/initrd.img-2.6.32-21-generic
2.2GB: boot/vmlinuz-2.6.32-21-generic
2.3GB: initrd.img
2.2GB: vmlinuz
=======Devices which don't seem to have a corresponding hard drive==============

sdd sde

frantid
May 8th, 2010, 05:24 PM
this is not so bad.

Do you want grub to be your default loader, so you can load lucid or xp? Or do you want to switch bios settings when you want to load one or the other?

Please boot off the livecd and post back.

kansasnoob
May 8th, 2010, 06:15 PM
What I see and a few questions:


=> Syslinux is installed in the MBR of /dev/sda
=> No boot loader is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/sdc and looks at sector 4498103 of
the same hard drive for core.img, but core.img can not be found at this
location.
=> No boot loader is installed in the MBR of /dev/sdf

Considering that Windows XP is on sda1 and Ubuntu 10.04 is on sdb1 I need to know a bit more, but first some general drive info:


Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 490,223,474 490,223,412 7 HPFS/NTFS


Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 39,262,859 39,262,797 83 Linux
/dev/sdb2 39,262,860 972,864,269 933,601,410 83 Linux
/dev/sdb3 972,864,270 976,768,064 3,903,795 82 Linux swap / Solaris


Disk /dev/sdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders, total 240121728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System


Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdf1 63 1,953,520,064 1,953,520,002 7 HPFS/NTFS

So it would be nice to fully understand what each drive is, what it's for etc.

I'm particularly surprised to see a grub2 mbr on sdc even though it appears to have no OS installed, in fact no partitions are recognized on it.

And this:


Syslinux is installed in the MBR of /dev/sda

About Syslinux:

http://en.wikipedia.org/wiki/SYSLINUX

Can you provide any additional info about that?

And also:


No boot loader is installed in the MBR of /dev/sdb

Kind of odd that grub2 ended up on the mbr of sdc?

So I need a little help from you explaining what is what, like what drives are SATA, IDE, etc. What are your "boot order" options?

What's internal and what's external?

jhouse59
May 9th, 2010, 12:29 AM
this is not so bad.

Do you want grub to be your default loader, so you can load lucid or xp? Or do you want to switch bios settings when you want to load one or the other?

Please boot off the livecd and post back.

Yes, I was wanting grub to be the default loader.




So it would be nice to fully understand what each drive is, what it's for etc.

Disk /dev/sda: 251.0 GB, Is where Windows XP installed.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes Is where Ubuntu installed.
Disk /dev/sdc: 122.9 GB, 122942324736 bytes Doesn't have anything installed.
Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes Is a external hard drive. Nothing is installed on it. It's used for storage.


I'm particularly surprised to see a grub2 mbr on sdc even though it appears to have no OS installed, in fact no partitions are recognized on it.

I don't know why grub2 is installed on it. It's an empty drive. I had PCLinux OS 2010 installed but, didn't care for it. So I reformatted the drive.


And this:

Quote:
Syslinux is installed in the MBR of /dev/sda
About Syslinux:

http://en.wikipedia.org/wiki/SYSLINUX

Can you provide any additional info about that?

I don't know why it's installed there. The only thing I know is Ubuntu had to install it there.



And also:

Quote:
No boot loader is installed in the MBR of /dev/sdb
Kind of odd that grub2 ended up on the mbr of sdc?

So I need a little help from you explaining what is what, like what drives are SATA, IDE, etc. What are your "boot order" options?

What's internal and what's external?

Don't know why no boot loader is installed in the MBR of /dev/sdb. All the internal drives are IDE. Disk /dev/sdf is an external drive.

Hope this helps. Thanks.

frantid
May 9th, 2010, 12:45 AM
are you booted now in the live cd?

can you do


sudo fdisk -l

sudo blkid

I want to make sure of the drives of your root linux partition and your home partition. I take it from your fstab that you mounted them separately, correct?

jhouse59
May 9th, 2010, 01:08 AM
are you booted now in the live cd?

I am now. Thanks for the help.



fdisk -l
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004e398

Device Boot Start End Blocks Id System

Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcaaa39b4

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 30515 245111706 7 HPFS/NTFS

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b00a6

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 2444 19631398+ 83 Linux
/dev/sdd2 2445 60558 466800705 83 Linux
/dev/sdd3 60559 60801 1951897+ 82 Linux swap / Solaris


sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sdc1: UUID="325820CD582091A1" TYPE="ntfs"
/dev/sdd1: UUID="99b3e2a0-c329-4c3e-b58a-98a81e526f43" TYPE="ext4"
/dev/sdd2: UUID="5dc38f23-2f58-4d0e-b6e2-290b31ea87c9" TYPE="ext4"
/dev/sdd3: UUID="d05f945e-a6b1-4d3c-8193-6b5b1e2b7c03" TYPE="swap"

frantid
May 9th, 2010, 01:25 AM
ok we need to edit your /etc/fstab file. and in place of the /dev/sdd1 for root. you need to put in the uuid

just like the line for your swap has.

we need to do the same for your home directory.

problem is the drives move around in /dev/sdx.

frantid
May 9th, 2010, 01:29 AM
make sure we have the right ones, something like this: (you did have a separate home right?)




UUID=99b3e2a0-c329-4c3e-b58a-98a81e526f43 / ext4 errors=remount-ro 0 1
UUID=5dc38f23-2f58-4d0e-b6e2-290b31ea87c9 /home ext4 defaults 0 2
please double check the numbers you can use nautilus to make sure the files are the right ones.

frantid
May 9th, 2010, 01:38 AM
after you're done with that

mount the drive. If /dev/sdd1 is not your / then change accordingly




sudo mount /dev/sdd1 /mnt then install grub from the cd.



sudo grub-install --root-directory=/mnt/ /dev/sda we are working through the repair steps here, for more info:
https://help.ubuntu.com/community/Gr...0from%20LiveCD (https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD)

then reboot, hopefully you will see grub.

kansasnoob
May 9th, 2010, 01:44 AM
I don't know why it's installed there. The only thing I know is Ubuntu had to install it there.

I can assure you that Ubuntu did NOT install Syslinux to any mbr!

As far as this editing UUID's, well, I'm too tired to argue. Go ahead and blow things up!

I need some rest.

jhouse59
May 9th, 2010, 01:46 AM
ok we need to edit your /etc/fstab file. and in place of the /dev/sdd1 for root. you need to put in the uuid

just like the line for your swap has.

we need to do the same for your home directory.

problem is the drives move around in /dev/sdx.
Can you tell me the code to open up the fstab file?


(you did have a separate home right?)
Yes

jhouse59
May 9th, 2010, 01:53 AM
I can assure you that Ubuntu did NOT install Syslinux to any mbr!

As far as this editing UUID's, well, I'm too tired to argue. Go ahead and blow things up!

I need some rest.
I didn't install Syslinux there. Besides I'm not arguing. I just sticked the Ubuntu cd in. Went thru the questions and info. Clicked to install. When it was finished. It asked did I want to reboot. When I rebooted it went straight to Windows.

frantid
May 9th, 2010, 02:16 AM
It's ok, just do the second part to put grub on sda

jhouse59
May 9th, 2010, 04:40 AM
sudo grub-install --root-directory=/mnt/ /dev/sda we are working through the repair steps here, for more info:
https://help.ubuntu.com/community/Gr...0from%20LiveCD (https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD)

then reboot, hopefully you will see grub.

I tried to install the grub to my boot partion (/dev/sdd1). It wouldn't install. This is the message I got:

/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.

frantid
May 9th, 2010, 10:22 AM
sorry for the late response, my adsl went down.

you don't want it in the partition, you want it in the mbr. So your bios boot drive, is sda. At least it was by the last fdisk -l printout. Before you run the command to put grub in you MBR, you need to make sure the drive is where you think it is. Thus, running fdisk -l and blkid needs to be checked again before you do


sudo grub-install --root-directory=/mnt/ /dev/sdaI would make sure you reboot off the live CD, run fdisk -l, and blkid. Then you should run the commands as I listed them. Making sure you put grub into the MBR of the xp disk. Because that is your bios boot disk, as it only boots xp on boot. Just make sure you do it as /dev/sdx not /dev/sdx1.

Your bootinfoscript is the reason I wanted to be so cautious.

It's also the reason I wanted to edit your /etc/fstab was because there is a tendency in multiple disk configurations that the hard drives move between /dev/sdX labels. There's also something strange in the way bootinfoscript sees your hard drives.

In the first part of the script it lists your ubuntu drive as sdb


sdb1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

and here:

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 39,262,859 39,262,797 83 Linux
/dev/sdb2 39,262,860 972,864,269 933,601,410 83 Linux
/dev/sdb3 972,864,270 976,768,064 3,903,795 82 Linux swap / Solaris
then later it lists it in grub config it's listed as hd(2,1) or sdc:


menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 99b3e2a0-c329-4c3e-b58a-98a81e526f43
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=99b3e2a0-c329-4c3e-b58a-98a81e526f43 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}and finally in your /etc/fstab it is listed as sdd


/dev/sdd1 / ext4 errors=remount-ro 0 1So the UUID's in /etc/fstab should prevent it from losing your root and home partitions.

frantid
May 9th, 2010, 02:58 PM
Hopefully, grub will be okay after you re-install it, if it doesn't work you need to probably do an "update-grub" as well as fix xp. Forgive me for pasting in parts of another post of mine from a different thread..

With Mother's Day I don't know if I or you will be around. Here are some directions to fix xp.

I think that perhaps some other tool you tried, maybe super boot disk or ultimate boot cd or unetbootin, put syslinux into the MBR of sda. This probably altered the xp partition.

To repair xp you will need to boot off an xp cd, then repair the boot sector.

simply boot the xp cd. pick recovery console. You want to run


chkdsk /f c: (It should be drive c: for you, the recovery console will try to get your windows partition right, but you always should check)
fixboot c:I would then try to reboot and see if grub can boot xp. If it does not work, you need to boot the xp cd again -- run


fixmbr c:
fixboot c:That will over write grub again and you will need to reinstall it. Like we did before, you may want to read this link I pasted (https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD). It gives 3 ways to try to fix grub.

We were working on the first way. You may need to do the chroot example, method number 3 -- so you can perform a "update-grub". The release notes for Lucid suggest adding:

dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctlafter step number 8, in method chroot.

Hopefully, following the guide you will be up and running.


good luck, I'll be on the forum in a day or so.

jhouse59
May 9th, 2010, 03:11 PM
Thanks for your help Frantid. I just did a reinstall. It's working now. I got to looking at my HOME folder. The only folder that was installed was a folder called "Examples". So I just reinstalled Ubuntu. But, thanks for the help.