Trevor Burton
December 4th, 2010, 10:25 PM
Hello everyone, I am in a mess.
Had a working WinXp/Karmic dual boot system
Tried to upgrade Karmic to Lucid and my daughter rebooted the system during the upgrade
I decided to do a fresh install of ubuntu, leaving Windows in place and it succeeded until the end when it said it could install the bootloader, so I proceeded without
Edit: I meant to say "it said it couldn't install the bootloader, so I proceeded without.
On booting, Grub drops to the command line.
I get grub>, not grub-rescue>
I did ls in grub and it showed the partitions I expected
/sda5 is /boot
/sda6 is /swap
/sda7 is /
/sda8 is /home
I tried to follow the grub2 command line manual by entering
set root=(hd0,7) (success)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro (failed - couldn't find file)
so I'm now a bit stuck.
Here are my bootinfo_script results
(by the way, sdb is just an e-SATA hard disc with nothing installed on it, I don't know why bootinfo thinks Windows is there. Windows is on /sda2 with some sort of backup/recovery partition on /sda1)
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #7 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
sda1: __________________________________________________ _______________________
File system: vfat
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 397263670 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows 98
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM /IO.SYS /MSDOS.SYS
/COMMAND.COM
sda2: __________________________________________________ _______________________
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
sda3: __________________________________________________ _______________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda6: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /etc/fstab /boot/grub/core.img
sda8: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sdb1: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ __________________________________________________ ___
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 16,370,234 16,370,172 1b Hidden W95 FAT32
/dev/sda2 * 16,370,235 387,471,734 371,101,500 7 HPFS/NTFS
/dev/sda3 387,473,406 625,141,759 237,668,354 5 Extended
/dev/sda5 387,473,408 387,676,159 202,752 83 Linux
/dev/sda6 387,678,208 396,064,767 8,386,560 82 Linux swap / Solaris
/dev/sda7 396,066,816 458,979,327 62,912,512 83 Linux
/dev/sda8 458,981,376 625,141,759 166,160,384 83 Linux
Drive: sdb ___________________ __________________________________________________ ___
Disk /dev/sdb: 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/sdb1 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 44D7-70B8 vfat BACKUP
/dev/sda2 4A38F4AD38F498E1 ntfs HDD
/dev/sda3: PTTYPE="dos"
/dev/sda5 3360563b-d9f2-49cd-b2d8-5e940dffd602 ext4
/dev/sda6 a802ec63-61fe-4196-99d6-93d3adc55f7a swap
/dev/sda7 49017298-36c8-4545-9ad4-cf33ce252549 ext4
/dev/sda8 15c85799-332f-47af-b367-c4cd40d12597 ext4
/dev/sda: PTTYPE="dos"
/dev/sdb1 6EDEDBBFDEDB7E31 ntfs Elrond
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: 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)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
C:\CMDCONS\BOOTSECT.DAT="Windows PE Recovery Process W/O Data losing" /cmdcons
C:\BOOTSECT.DOS="MS-Dos OEMSETUP Recovery Process..."
================================ sda2/BOOT.INI: ================================
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP Media Center Edition" /noexecute=optin /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
=================== sda5: Location of files loaded by Grub: ===================
198.4GB: initrd.img-2.6.32-24-generic
198.4GB: vmlinuz-2.6.32-24-generic
=============================== sda7/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/sda7 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=3360563b-d9f2-49cd-b2d8-5e940dffd602 /boot ext4 defaults 0 2
# /home was on /dev/sda8 during installation
UUID=15c85799-332f-47af-b367-c4cd40d12597 /home ext4 defaults 0 2
/dev/sda6 none swap sw 0 0
=================== sda7: Location of files loaded by Grub: ===================
233.5GB: boot/grub/core.img
=======Devices which don't seem to have a corresponding hard drive==============
sdc sdd sde sdf
Any ideas?
Thanks
Had a working WinXp/Karmic dual boot system
Tried to upgrade Karmic to Lucid and my daughter rebooted the system during the upgrade
I decided to do a fresh install of ubuntu, leaving Windows in place and it succeeded until the end when it said it could install the bootloader, so I proceeded without
Edit: I meant to say "it said it couldn't install the bootloader, so I proceeded without.
On booting, Grub drops to the command line.
I get grub>, not grub-rescue>
I did ls in grub and it showed the partitions I expected
/sda5 is /boot
/sda6 is /swap
/sda7 is /
/sda8 is /home
I tried to follow the grub2 command line manual by entering
set root=(hd0,7) (success)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro (failed - couldn't find file)
so I'm now a bit stuck.
Here are my bootinfo_script results
(by the way, sdb is just an e-SATA hard disc with nothing installed on it, I don't know why bootinfo thinks Windows is there. Windows is on /sda2 with some sort of backup/recovery partition on /sda1)
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #7 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
sda1: __________________________________________________ _______________________
File system: vfat
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 397263670 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows 98
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM /IO.SYS /MSDOS.SYS
/COMMAND.COM
sda2: __________________________________________________ _______________________
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
sda3: __________________________________________________ _______________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda6: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /etc/fstab /boot/grub/core.img
sda8: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sdb1: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ __________________________________________________ ___
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 16,370,234 16,370,172 1b Hidden W95 FAT32
/dev/sda2 * 16,370,235 387,471,734 371,101,500 7 HPFS/NTFS
/dev/sda3 387,473,406 625,141,759 237,668,354 5 Extended
/dev/sda5 387,473,408 387,676,159 202,752 83 Linux
/dev/sda6 387,678,208 396,064,767 8,386,560 82 Linux swap / Solaris
/dev/sda7 396,066,816 458,979,327 62,912,512 83 Linux
/dev/sda8 458,981,376 625,141,759 166,160,384 83 Linux
Drive: sdb ___________________ __________________________________________________ ___
Disk /dev/sdb: 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/sdb1 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 44D7-70B8 vfat BACKUP
/dev/sda2 4A38F4AD38F498E1 ntfs HDD
/dev/sda3: PTTYPE="dos"
/dev/sda5 3360563b-d9f2-49cd-b2d8-5e940dffd602 ext4
/dev/sda6 a802ec63-61fe-4196-99d6-93d3adc55f7a swap
/dev/sda7 49017298-36c8-4545-9ad4-cf33ce252549 ext4
/dev/sda8 15c85799-332f-47af-b367-c4cd40d12597 ext4
/dev/sda: PTTYPE="dos"
/dev/sdb1 6EDEDBBFDEDB7E31 ntfs Elrond
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: 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)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
C:\CMDCONS\BOOTSECT.DAT="Windows PE Recovery Process W/O Data losing" /cmdcons
C:\BOOTSECT.DOS="MS-Dos OEMSETUP Recovery Process..."
================================ sda2/BOOT.INI: ================================
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP Media Center Edition" /noexecute=optin /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
=================== sda5: Location of files loaded by Grub: ===================
198.4GB: initrd.img-2.6.32-24-generic
198.4GB: vmlinuz-2.6.32-24-generic
=============================== sda7/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/sda7 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=3360563b-d9f2-49cd-b2d8-5e940dffd602 /boot ext4 defaults 0 2
# /home was on /dev/sda8 during installation
UUID=15c85799-332f-47af-b367-c4cd40d12597 /home ext4 defaults 0 2
/dev/sda6 none swap sw 0 0
=================== sda7: Location of files loaded by Grub: ===================
233.5GB: boot/grub/core.img
=======Devices which don't seem to have a corresponding hard drive==============
sdc sdd sde sdf
Any ideas?
Thanks