Re: mount ext2fs

2004-03-25 Thread Robert Storey
If you need fsck for ext2, you could just book a Knoppix (or maybe Slackware) live CD. No need to install Linux, you should be able to run fsck from the CD, and that will clear the ext2 partition. I will also confirm what the other poster said, the correct syntax for mounting the partition should

Re: mount ext2fs

2004-03-24 Thread Johnny
uidzero wrote, > Johhny, > > Try "mount_ext2fs /dev/as2s2 /data2" Just be sure to umount the >partition before you reboot or anything because it "could" mess up your >file system. Read the comment above the ext2fs module in thwe LINT kernel. > >Michael ; tried that, seems to be no different th

Re: mount ext2fs

2004-03-22 Thread uidzero
Johnny wrote: i'm trying to mount ext2 partitions from an install of rh8 on my freebsd box. simple process i'd think, but apparently not with the current setup. the bsd box is 4.8-stable with a custom kernel including the ext2fs module, so i'd like to think that isn't the source of the problem. he

mount ext2fs

2004-03-22 Thread Johnny
i'm trying to mount ext2 partitions from an install of rh8 on my freebsd box. simple process i'd think, but apparently not with the current setup. the bsd box is 4.8-stable with a custom kernel including the ext2fs module, so i'd like to think that isn't the source of the problem. here is some o

Re: error when trying to mount ext2fs harddisk, wrong magic nbr??

2003-10-11 Thread Torben Brosten
After reading more man pages and the chapter "Adding a Disk" from UNIX System Administration Handbook, 3rd ed. by Nemieth, Snyder, Seebass and Hein, I realize that this ext2fs harddrive will best be fixed by putting back into a linux environment and proceeding with fdisk + fsck etc. cheers Tor

Re: error when trying to mount ext2fs harddisk, wrong magic nbr??

2003-10-11 Thread Torben Brosten
I'm trying to decipher the error message: ext2fs: #ad/0x000a: wrong magic number 0x8b6 (expected 0xef53) I've been reading man magic man file but I have limited C experience. I see the references to ext2 in /usr/share/misc/magic, particularly: >>0x43a leshort ^0x001 (mounted or unclean)

Re: error when trying to mount ext2fs harddisk, wrong magic nbr??

2003-10-11 Thread Torben Brosten
After rebooting, tried again: huey# mount -t ext2fs /dev/ad1s1 /aduni ext2fs: #ad/0x2000a: wrong magic number 0x8b6 (expected 0xef53) ext2fs: /dev/ad1s1: Invalid argument I'm trying to mount an ext2fs formatted harddisk on freebsd 4-8 stable, but am getting an error. huey# mkdir /aduni huey# m

error when trying to mount ext2fs harddisk

2003-10-11 Thread Torben Brosten
Hi, I'm trying to mount an ext2fs formatted harddisk on freebsd 4-8 stable, but am getting an error. huey# mkdir /aduni huey# mount_ext2fs -o rdonly /dev/ad1s1 /aduni mount_ext2fs: /dev/ad1s1: Invalid argument Same error when trying: mount -t ext2fs /dev/ad1s1 /aduni The kernel DUEY has the 'opt