You are not logged in.
Hello,
I am trying something: I would like to access to some data stored on a usb stick while I am booting to the kernel using the "init=/bin/sh" parameters.
Is that possible ? I tried some "mkdir /media/disk" then "mount /dev/sda /media/disk" but I'm not very comfortable with mounting devices in a terminal, and even less while using init=/bin/sh parameters.
BTW, Do you know where I could find some documentation about this parameter ? I does not seem to give a full root access to the machine since I can't use the network...
Thank you :]
Offline
Some news:
My USB stick is now detected when I do 'cat /var/log/messages.log | grep sdb". I had to "modprobe usb-storage".
localhot kernel : sdb: sdb1
localhost kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
But I still can't get it mounted.
mount: special device /dev/sdb1 does not exist"
I need help, please
Offline
up !
Offline
up !
Offline
$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Apr 2 12:56 /dev/sda
brw-rw---- 1 root disk 8, 1 Apr 2 12:57 /dev/sda1
brw-rw---- 1 root disk 8, 2 Apr 2 12:56 /dev/sda2
brw-rw---- 1 root disk 8, 3 Apr 2 12:57 /dev/sda3
brw-rw---- 1 root disk 8, 4 Apr 2 12:57 /dev/sda4
brw-rw---- 1 root disk 8, 16 Apr 2 12:57 /dev/sdb
$
If you do see the device nodes exist, then there is a bigger issue. If you do not see them you can create them
# mknod /dev/sdb -m 660 b 8 16
# mknod /dev/sdb1 -m 660 b 8 17
Then try mounting.
Offline