PDA

Bekijk de volledige versie : can not mount prevous partitions?



sparkY
18-03-2007, 18:56
hi,
i just switched to oleg fw - everything is working ... but:

I cannot mount my old partitions I created with the asus firmware.
fdisk tells there are 3 linux partitions on the disc - so its either ext2 or ext3.



Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 81270 40960048+ 83 Linux
/dev/discs/disc0/part2 81271 162540 40960080 83 Linux
/dev/discs/disc0/part3 162541 193821 15765624 83 Linux


When I try to mount them I get the following error:


[root@wlhdd /tmp]$ mount /dev/discs/disc0/part1 /tmp/harddisk/
mount: Mounting /dev/discs/disc0/part1 on /tmp/harddisk/ failed: Invalid argument

tried also with -t parameter but it doesn't work either. could the mount program be broken?
In my opinion it must be possible to access those old ext2/3 partitions.

any ideas?

zamolx3
20-03-2007, 20:17
hi sparkY,

I don't know if it's the same problem, but I had the following situation.
Just bought an wl-500gp and installed Oleg's firmware on it.

Followed the marcnesium tutorial
http://wl500g.info/showthread.php?t=5909

Had a bunch of small problems, managed to reach the part where I had to mount /dev/discs/disc0/part1.
Received the same error as you.
Checked dmesg
On the last line of the error you should see some error.
In my case mount was trying to mount my ext3 partition as FAT.
And I thought that part1 was formatted as ext3.
It was not.
Tried to format again.
It was starting the formatting and it was just quiting during the process.
Checked dmesg again
Out of Memory: Killed process (mke2fs).
Had the idea to activate the swap
swapon /dev/discs/disc0/part2
Formatted again the part1 with ext3 and everything seems to work fine now.

So, I suggest to check dmesg to see what error you have and see from there.
As in my case, it seems like your hdd is not formatted properly or not as Oleg's firmware expects.