grub-install fails says disk is iso9660 format
When installing Ubuntu 11.10, the installation stops a fatal error on `grub-install /dev/sda`. I looked through the many articles on this and attempted manual grub install and boot-repair methods..but neither works.
All attempts to manually install grub fail, with the /dev/sda being detected as iso9660.
Here is the entry from the log:
Dec 16 11:27:32 ubuntu grub-installer: info: Identified partition label for /dev/sda1: msdos
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-lega cy
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-efi
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-efi-amd64-bin
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-efi-amd64
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-efi-ia32-bin
Dec 16 11:27:36 ubuntu grub-installer: dpkg: warning: there's no installed package matching grub-efi-ia32
Dec 16 11:27:37 ubuntu grub-installer: info: Installing grub on '/dev/sda'
Dec 16 11:27:37 ubuntu grub-installer: info: grub-install supports --no-floppy
Dec 16 11:27:37 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force
"/dev/sda"
Dec 16 11:27:40 ubuntu grub-installer: /usr/sbin/
filesystem which isn't known to reserve space for DOS-style boot. Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable data is overwritten by grub-setup (--skip-fs-probe disables this check, use at your own risk).
Dec 16 11:27:40 ubuntu grub-installer: error: Running 'grub-install --no-floppy --force "/dev/sda"'
failed.
I canceled the install and attempted to install grub manually following the directions here:
(http://
root@ubuntu:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00003428
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 386529279 193263616 83 Linux
/dev/sda2 386531326 390721535 2095105 5 Extended
/dev/sda5 386531328 390721535 2095104 82 Linux swap / Solaris
root@ubuntu:
Filesystem 1K-blocks Used Available Use% Mounted on
/cow 1031048 90676 940372 9% /
udev 1023660 12 1023648 1% /dev
tmpfs 412420 808 411612 1% /run
/dev/sr0 711980 711980 0 100% /cdrom
/dev/loop0 683136 683136 0 100% /rofs
tmpfs 1031048 68 1030980 1% /tmp
none 5120 4 5116 1% /run/lock
none 1031048 276 1030772 1% /run/shm
/dev/sda1 190230236 2634060 177932996 2% /target
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
grub.cfg: No such file or directory
root@ubuntu:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
root@ubuntu:
/usr/sbin/
root@ubuntu:
The above was done both after the install canceled but without rebooting, and after rebooting into the LiveCD. Results are the same.
There shouldn't be any other OS's loaded on the HD previously had Windows7 installed, but each install I've done I've specified to overwrite the old partition and reformat.
The first time I ran into the issue I completely cleared the partition table:
# dd if=/dev/zero of=/dev/sda bs=512 count=1
I then repartitioned using fdisk, and attempted another install of ubuntu. It still fails to install grub.
I tried using the boot-repair: http://
Boot successfully repaired.
Please note the following URL:
http://
In case you still experience boot problem, indicate this URL to:
<email address hidden>
or to your favorite support forum.
You can now reboot your computer.
However, the boot-repair log shows:
grub-install (GRUB) 1.99-12ubuntu5
/usr/sbin/
space for DOS-style boot. Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable da
ta is overwritten by grub-setup (--skip-fs-probe disables this check, use at your own risk).
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Mount all the partitions for the logs
Unhide boot menu (10 seconds) if Wubi detected
Unhide GRUB boot menu in sda1/boot/
internet: connected
/usr/share/
done
E: Unable to locate package pastebinit
Activate all repositories in /etc/apt/
dpkg-preconfigure: unable to re-open stdin:
Restore the original repositories in /etc/apt/
ubuntu@
And after a reboot the system just hangs like its looking for the bootloader.
I'm using the liveCD, installing on the internal HD, no other OS's are being loaded. There are no usb drives attaches, the only usb device is a mouse. (using PS2 keyboard).
Boot-repair info for the two runs I tried can be found: http://
Any info appreciated.
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: