Hello,
I’m trying to install **** Small Linux on an usb flash drive, following directions: Alternative II: Using GRUB as boot loader, here Installing to a USB Flash Drive - DSL Wiki
I create the partitions fine, and then I cannot mount it, though it still appears to be recognized,
# /sbin/mke2fs -j /dev/sdb2
mke2fs 1.40.8 (13-Mar-2008)
Could not stat /dev/sdb2 --- No such file or directory
sfdisk took about 7 minutes to display output:
# sudo /sbin/sfdisk -l /dev/sdb
Disk /dev/sdb: 65015 cylinders, 2 heads, 63 sectors/track
Units = cylinders of 64512 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 0+ 64949 64950- 4091818+ b W95 FAT32
/dev/sdb2 * 64950 65014 65 4095 83 Linux
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
# cat /proc/partitions
major minor #blocks name
8 0 156290904 sda
8 1 1935832 sda1
8 2 10008463 sda2
8 3 144344025 sda3
7 0 51102 loop0
8 16 4096000 sdb
8 17 4091818 sdb1
8 18 4095 sdb2
# sudo tail -10 /var/log/messages
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 171
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 172
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 173
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 174
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 175
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 176
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 177
Dec 16 03:33:42 linux-1g5x kernel: Buffer I/O error on device sdb2, logical block 178
not sure if all of that is relevant or not.
I tried to google around for these errors, but just seemed to find folks who made different mistakes (e.g. doing something like “fdisk /dev/sdb1” instead of “fdisk /dev/sdb”, others appeared unresolved.
any thoughts?
Thanks for reading.