PDA

Bekijk de volledige versie : can't mount my 2nd partition



banana
04-06-2006, 18:51
Hi.

I recently upgrade my wl-hdd's firmware from asus 1.2.3.9 to olegs's 1.9.2.7-7c.

It works almost perfectly: i can't mount my 2nd (ext2) partition. I tried the hd on my laptop, the 2nd partition is there.
And I can't format it, i have some datas on it...

cat /proc/partitions gives me:


major minor #blocks name

3 0 58605120 ide/host0/bus0/target0/lun0/disc
3 1 61456 ide/host0/bus0/target0/lun0/part1
3 2 1 ide/host0/bus0/target0/lun0/part2
3 5 35840416 ide/host0/bus0/target0/lun0/part5
3 6 22703152 ide/host0/bus0/target0/lun0/part6


part5 is mounted to /tmp/harddisk and works ok.

some tests:


$mount /dev/discs/disc0/part6 /tmp/somedir
mount: Mounting /dev/discs/disc0/part6 on /tmp/somedir failed: Invalid argument

$mount /dev/discs/disc0/part6 /tmp/somedir -t ext2
mount: Mounting /dev/discs/disc0/part6 on /tmp/somedir failed: No such device

bubieyehyeh
04-06-2006, 19:09
It works almost perfectly: i can't mount my 2nd (ext2) partition. I tried the hd on my laptop, the 2nd partition is there.
And I can't format it, i have some datas on it...


$mount /dev/discs/disc0/part6 /tmp/somedir
mount: Mounting /dev/discs/disc0/part6 on /tmp/somedir failed: Invalid argument

$mount /dev/discs/disc0/part6 /tmp/somedir -t ext2
mount: Mounting /dev/discs/disc0/part6 on /tmp/somedir failed: No such device


I'm not sure, but I think the -t ext2 bit must be before the partition and mount point. the default file system maybe fat32. So your command maybe trying to mount the ext2 filesystems as fat32.

e.g. mount -t ext2 /dev/discs/disc0/part6 /tmp/somedir

banana
05-06-2006, 09:43
Yes, i already tried it, it doesn't work.

Oleg
05-06-2006, 09:46
ext2 is not supported, you've to add journal to use it as ext3.