mibadt
August 13th, 2012, 11:04 AM
Hi,
I intend to create an Ubuntu (12.04 386) based "PC on a Disk on key) as part of my preparation for a long trip.
I took a 32 GB USB memory (Labeled Linux Mint from a former use), booted the PC from a CD, and chose to install on the /dev/sdc (USB memory) and install the grub2 too on that device.
Installation ( with / on sdc1 with NO separate /boot) completed with only a single problem- it reported it couldn't install grub. I completed the installation and rebooted from the CD into a live session with the USB still plugged in.
Somehow I have seen the DOK (disk on Key) icon appearing three times.
I opened a terminal (see below) and, as root, try to reinstall grub which didn't work. I've unmounted the DOK, yet still no success.
Please advise!
Thanks
-----------copy of terminal (as root)-------------
Disk /dev/sdc: 32.0 GB, 32007389184 bytes
255 heads, 63 sectors/track, 3891 cylinders, total 62514432 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: 0x0003ada6
Device Boot Start End Blocks Id System
/dev/sdc1 2048 16601087 8299520 83 Linux
/dev/sdc2 16601088 53710847 18554880 83 Linux
/dev/sdc3 60559360 62513151 976896 82 Linux swap / Solaris
/dev/sdc4 53712894 60559359 3423233 5 Extended
/dev/sdc5 53712896 55664639 975872 82 Linux swap / Solaris
/dev/sdc6 55666688 60559359 2446336 b W95 FAT32
Partition table entries are not in disk order
root@ubuntu:/home/ubuntu# grub-install /dev/sdc
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
root@ubuntu:/home/ubuntu# cd /media/
root@ubuntu:/media# ls
cdrom Linux Mint 13 Cinnamon 64-bit Linux Mint 13 Cinnamon 64-bit_ Linux Mint 13 Cinnamon 64-bit__
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
root@ubuntu:/media# ls
cdrom Linux Mint 13 Cinnamon 64-bit_ Linux Mint 13 Cinnamon 64-bit__
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
umount: Linux Mint 13 Cinnamon 64-bit: not found
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
umount: Linux Mint 13 Cinnamon 64-bit: not found
root@ubuntu:/media#
root@ubuntu:/media# grub-install /dev/sdc
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
I intend to create an Ubuntu (12.04 386) based "PC on a Disk on key) as part of my preparation for a long trip.
I took a 32 GB USB memory (Labeled Linux Mint from a former use), booted the PC from a CD, and chose to install on the /dev/sdc (USB memory) and install the grub2 too on that device.
Installation ( with / on sdc1 with NO separate /boot) completed with only a single problem- it reported it couldn't install grub. I completed the installation and rebooted from the CD into a live session with the USB still plugged in.
Somehow I have seen the DOK (disk on Key) icon appearing three times.
I opened a terminal (see below) and, as root, try to reinstall grub which didn't work. I've unmounted the DOK, yet still no success.
Please advise!
Thanks
-----------copy of terminal (as root)-------------
Disk /dev/sdc: 32.0 GB, 32007389184 bytes
255 heads, 63 sectors/track, 3891 cylinders, total 62514432 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: 0x0003ada6
Device Boot Start End Blocks Id System
/dev/sdc1 2048 16601087 8299520 83 Linux
/dev/sdc2 16601088 53710847 18554880 83 Linux
/dev/sdc3 60559360 62513151 976896 82 Linux swap / Solaris
/dev/sdc4 53712894 60559359 3423233 5 Extended
/dev/sdc5 53712896 55664639 975872 82 Linux swap / Solaris
/dev/sdc6 55666688 60559359 2446336 b W95 FAT32
Partition table entries are not in disk order
root@ubuntu:/home/ubuntu# grub-install /dev/sdc
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
root@ubuntu:/home/ubuntu# cd /media/
root@ubuntu:/media# ls
cdrom Linux Mint 13 Cinnamon 64-bit Linux Mint 13 Cinnamon 64-bit_ Linux Mint 13 Cinnamon 64-bit__
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
root@ubuntu:/media# ls
cdrom Linux Mint 13 Cinnamon 64-bit_ Linux Mint 13 Cinnamon 64-bit__
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
umount: Linux Mint 13 Cinnamon 64-bit: not found
root@ubuntu:/media# umount Linux\ Mint\ 13\ Cinnamon\ 64-bit
umount: Linux Mint 13 Cinnamon 64-bit: not found
root@ubuntu:/media#
root@ubuntu:/media# grub-install /dev/sdc
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).