LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   up for a real challenge? (https://www.linuxquestions.org/questions/linux-general-1/up-for-a-real-challenge-222312/)

ZaphyR 08-25-2004 02:22 PM

up for a real challenge? (mounting problems)
 
after a power failure, my box would not boot. it stopped and told me that fsck failed...or something.
so no problem, i thought. ill just reinstall, cuz i have /home on a separate hd, hdb1.
so i boot from my DVD, and tell YaST2 to format partitions on hda; root, swap and /usr and then mount hdb1 as /home without formatting.

well...it didnt work as planned. i got an error msg telling me that YaST was unable to mount hdb1 to mnt/home

now i have installed everything on hda just to get it running so i could log on here on LQ and ask you guys for help...

i need to be able to mount hdb1 so i can rescue at least some of the data there!

heeeelp!!

my current fstab file(/data1 seems to me to mount hdb1, but when i open /data1 in konqueror, the folder is empty):
Code:

/dev/hda2            /                    reiserfs  acl,user_xattr        1 1
/dev/hdb1            /data1              auto      noauto,user          0 0
/dev/hda1            swap                swap      pri=42                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
proc                /proc                proc      defaults              0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
sysfs                /sys                sysfs      noauto                0 0
/dev/cdrecorder      /media/cdrecorder    subfs      fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0            /media/floppy        subfs      fs=floppyfss,procuid,nodev,nosuid,sync 0 0


PenguinPwrdBox 08-25-2004 02:56 PM

Note the noauto flag in your fstab.
Mount this drive manually to /mnt/whatever
See if you can access it that way.
If you can, cp the contents to /home.

ZaphyR 08-26-2004 05:30 AM

Quote:

Mount this drive manually to /mnt/whatever
thanks for the suggestion, but how do i mount manually?

PenguinPwrdBox 08-26-2004 07:18 AM

Code:

mount -t <filesystype> /dev/hdb1 /mnt/whatever

ZaphyR 08-26-2004 07:52 AM

Quote:

<filesystype>
by that you mean reiserfs...right?

:confused:

PenguinPwrdBox 08-26-2004 08:14 AM

If that's what it is - then yep - you are correct sir.

ZaphyR 08-26-2004 01:11 PM

i get this error

Code:

# mount -t reiserfs /dev/hdb1 /mnt/backup
mount: mount point /mnt/backup does not exist


acb67 08-26-2004 01:16 PM

Did you create the folder 'backup' in /mnt before u ran the command? That looks like the error when the folder does not exist.

PenguinPwrdBox 08-26-2004 01:33 PM

Code:

root@ZaphyR# mkdir /mnt/backup

David the H. 08-26-2004 01:56 PM

It sounds to me like the drive itself has failed. You may be doomed no matter what you try. Does the drive itself even show any activity?

If you can't get it to mount manually, I think you should start looking into drive recovery options.

PenguinPwrdBox 08-26-2004 01:57 PM

The drive hasn't failed.
Let him figure out some syntax before we scare the crap out of him....

DeathlessOne 08-26-2004 02:17 PM

*Note to self*

Buy a UPS.

ZaphyR 08-26-2004 02:21 PM

i am starting to become a little worried....

i created the folder now, /mnt/backup, and ran the command again
with this result

Code:

# mount -t reiserfs /dev/hdb1 /mnt/backup
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
      or too many mounted file systems


PenguinPwrdBox 08-26-2004 02:29 PM

do simply:
Code:

mount /dev/hdb1 /mnt/backup

ZaphyR 08-26-2004 02:51 PM

then i get this

Code:

# mount /dev/hdb1 /mnt/backup
mount: you must specify the filesystem type



All times are GMT -5. The time now is 11:35 PM.