You are not logged in.
Hiya,
I'm having some problems mounting /dev/sda2 to /mnt-user on my Asus 900 when in rescue mode.
I've followed the directions here:
http://wiki.eeeuser.com/iptables
to enable rescue mode, and it seems to be working on my computer. But when I enter the command:
mount /dev/sda2 /mnt-user
/mnt-user seems not to have any directory “home”
But certain other program instructions (e.g. these instructions) seem to imply that home ought to exist with my saved files.
eg, the instructions for setting up iptables indicates that we should! be able to copy some files from /mnt-user/home such that:
cd /mnt-user/home/user/newroot
will be a valid command if you have mounted /dev/sda2 to /mnt-user and have a directory /home/user/newroot.
The only directories available are:
dev
etc
lost+found
media
mnt
opt
root
sbin
usr
var
Anyone have any suggestions why this is not working as expected?
Thanks!
Offline
The wiki is for 701.
On 900 the /dev/sdb1 is mounted to /home in normal mode. So under rescue mode if you mount sdb1 somewhere, you would find a "user" folder and your stuff under it.
I see the wiki contains a modded 701 kernel too - I kind of doubt if it would be suitable for 900; perhaps bootable, but the multitouch touchpad may break.
Last edited by stupidsing (2008-06-17 10:28:48 am)
Offline
Hi,
One thing to note is that in resuce mode there is no /dev/sdb1 node created as default so you will have to create one with;
mknod /dev/sdb b 8 16
mknod /dev/sdb1 b 8 17
before you try
mount /dev/sdb1 /mnt-user
Hope this helps.
Offline
optogeek wrote:
mknod /dev/sdb b 8 16
mknod /dev/sdb1 b 8 17
It doesn't work ![]()
Offline
I don't know but your /home drive might be getting allotted to a different device. To try a debug try the following.
When NOT in rescue mode try typing
mount
You should get something like;
rootfs on / type rootfs (rw)
/dev/sda1 on / type ext2 (ro)
none on / type aufs (rw,xino=/.aufs.xino,br:/=rw:/=ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/sdb1 on /home type ext3 (rw,noatime,data=ordered)
usbfs on /proc/bus/usb type usbfs (rw)
Check which device is associated with /home (in this case /dev/sdb1 second from the bottom. Once you know which device you need you can try;
ls -la /dev/sdb*
You will get;
brw-rw---- 1 root floppy 8, 16 2002-01-01 05:03 /dev/sdb
brw-rw---- 1 root floppy 8, 17 2002-01-01 05:03 /dev/sdb1
brw-r--r-- 1 root root 8, 18 2002-01-01 05:03 /dev/sdb2
Now in rescue mode you can use mknod to recreate the entries above. The format of the mknod command is;
mknod device type major_number minor_number
You can get all this from the ls command above. The type is b for block, from the brw-rw----. The major and minor number are the two number separated by the commas above. The result is;
mknod /dev/sdb b 8 16
mknod /dev/sdb1 b 8 17
If it doesn't work post the output of the mount and ls commands.
Offline
optogeek wrote:
Hi,
One thing to note is that in resuce mode there is no /dev/sdb1 node created as default so you will have to create one with;
mknod /dev/sdb b 8 16
mknod /dev/sdb1 b 8 17
Ok, it worked! ![]()
Sorry for the trouble, but I was giving help to a friend of mine via E-mail, and he messed up with commands! ![]()
I wrote a tutorial about restoring the Eee PC password, but, since I've got a 701 one, the partitions (and paths) are a bit different.
If you've got a Website, tell me; I'll give you a backlink! ![]()
Offline
That is okay. I am happy to help.
:-)
Offline
optogeek wrote:
That is okay. I am happy to help.
:-)
Thank you, anyway! ![]()
Offline