I tried to install Arch Linux to an USB key. Things are kind of wobbly (it assumes the system has exactly one drive inside, for example) but everything installed just fine. Until I rebooted.
Booting 'Arch Linux' root (hd1,1) Filesystem type unknown, partition type 0x7 kernel /boot/vmlinuz26 root=/dev/dsb2 ro Error 17: Cannot mount selected partition
(hd1,0) is a small FAT partition for data storing purposes -- for those locked down lab computers.)
Here's the 'Arch Linux' command sequence:
root (hd1,1) kernel /boot/vmlinuz26 root=/dev/dsb2 ro initrd /boot/kernel26.img
At the grub console:
grub> root (hd1,1) Filesystem type unknown, partition type 0x7 grub> cat /etc/passwd Error 17: Cannot mount selected partition grub> root (hd0,1) # my ubuntu partition Filesystem type is ext2fs, partition type 0x73 grub> cat /etc/passwd root:x:0:0:root:/root:/bin/bash <snip/>
I could successfully reboot in my host OS, Ubuntu, and used the Disk Tool to confirm partitioning was successful. Also, running
sudo kvm /dev/dsb resulted in a successful Arch boot once I edited the commands to boot from
root (hd0,1) (that is, until Arch tried to mount
What did I do wrong?
fdisk -l /dev/sdb gives:
Disk /dev/sdb: 1998 MB, 1998585856 bytes 62 heads, 62 sectors/track, 1015 cylinders Units = cylinders of 3844 * 512 = 1968128 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 65 124899 b W95 FAT32 /dev/sdb2 * 66 1015 1825900 83 Linux
I have now read the related wiki section but nothing seems to apply: I didn't use GParted or logical drives; everything is on the same partition.