cleverlion
07-13-2006, 06:26 AM
Greetings,
Several days ago I updated my debian distro, and upon restarting found that my hard drive could no longer be detected. After reading various forms/wikis etc. I've discovered that this is a fairly common situation, yet NONE of the solutions out there is fixing my problem. From what I’ve read I’m supposed to do something like this:
1. run knoppix live cd
2. run a terminal as root
3. mount /dev/hda1 to /mnt
4. chroot into /mnt
5. do some updates with apt (probably udev)
6. restart and be good to go
I can’t get past step 3. After running knoppix 5 live cd (as root) I type this:
mount –t ext3 –o rw /dev/hda1 /mnt
Yet I get this message:
mount: /dev/hda1 already mounted or /mnt busy
Reading on the forms I’ve seen people create other directories to use instead of /mnt, and also the recommendation to not be in the /mnt directory while doing this. However, no matter where I try to mount /dev/hda1 to and no matter where I am, I get that same “already mounted or busy� message. I’ve also tried “remounting� /dev/hda1 like this:
mount –t ext3 –o remount,rw /dev/hda1 /mnt
Only to get this message:
mount: /mnt not mounted already, or bad option
I get this same message if I use /tempmnt or anything other directory I create.
I’ve also tried running simply “mount� and nothing resembling my hard drive is listed. Additionally, I’ve tried “fdisk –l� and gotten this message:
Disk /dev/hda: 40.0 GB xxxxx bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = blah blah blah
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4664 37463548+ 83 Linux
/dev/hda2 4665 4865 1614532+ 5 Extended
/dev/hda5 4664 4865 1614501 82 Linux swap / Solaris
So apparently the OS sees my disk?
I’ve also tried:
fsck -y /dev/hda1
and gotten this message:
fsck.ext3: Device or resource busy while trying to open /dev/hda1
Filesystem mounted or opened exclusively by another program?
Finally, if I type:
ls /mnt
I get this:
hdc -> /media/hdc
hdd -> /media/hdd
lsi_bijcjjdjiea1 -> /medialsi_bijcjjdjieal
In short, I’ve tried everything I can think of, and read everywhere I can read. I’ve got a code repository on my hard drive so really hate to lose the drive and do another full debian netinstall. I’m also starting to worry that I have some kind of virus/Trojan horse. Help me, knoppix forum, you're my only hope...
[/code]
Several days ago I updated my debian distro, and upon restarting found that my hard drive could no longer be detected. After reading various forms/wikis etc. I've discovered that this is a fairly common situation, yet NONE of the solutions out there is fixing my problem. From what I’ve read I’m supposed to do something like this:
1. run knoppix live cd
2. run a terminal as root
3. mount /dev/hda1 to /mnt
4. chroot into /mnt
5. do some updates with apt (probably udev)
6. restart and be good to go
I can’t get past step 3. After running knoppix 5 live cd (as root) I type this:
mount –t ext3 –o rw /dev/hda1 /mnt
Yet I get this message:
mount: /dev/hda1 already mounted or /mnt busy
Reading on the forms I’ve seen people create other directories to use instead of /mnt, and also the recommendation to not be in the /mnt directory while doing this. However, no matter where I try to mount /dev/hda1 to and no matter where I am, I get that same “already mounted or busy� message. I’ve also tried “remounting� /dev/hda1 like this:
mount –t ext3 –o remount,rw /dev/hda1 /mnt
Only to get this message:
mount: /mnt not mounted already, or bad option
I get this same message if I use /tempmnt or anything other directory I create.
I’ve also tried running simply “mount� and nothing resembling my hard drive is listed. Additionally, I’ve tried “fdisk –l� and gotten this message:
Disk /dev/hda: 40.0 GB xxxxx bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = blah blah blah
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4664 37463548+ 83 Linux
/dev/hda2 4665 4865 1614532+ 5 Extended
/dev/hda5 4664 4865 1614501 82 Linux swap / Solaris
So apparently the OS sees my disk?
I’ve also tried:
fsck -y /dev/hda1
and gotten this message:
fsck.ext3: Device or resource busy while trying to open /dev/hda1
Filesystem mounted or opened exclusively by another program?
Finally, if I type:
ls /mnt
I get this:
hdc -> /media/hdc
hdd -> /media/hdd
lsi_bijcjjdjiea1 -> /medialsi_bijcjjdjieal
In short, I’ve tried everything I can think of, and read everywhere I can read. I’ve got a code repository on my hard drive so really hate to lose the drive and do another full debian netinstall. I’m also starting to worry that I have some kind of virus/Trojan horse. Help me, knoppix forum, you're my only hope...
[/code]