LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux can't boot because of bad fs? (https://www.linuxquestions.org/questions/linux-software-2/linux-cant-boot-because-of-bad-fs-96872/)

hbbtstar 09-25-2003 04:23 PM

Linux can't boot because of bad fs?
 
OK, I just switched to Linux and I was planning on using it primarily. So what I did, was I used PartitionMagic to resize my Windows partition and I reformatted the empty space as Linux ext2, and I edited my /etc/fstab. The problem is, that now Linux won't recognize my new partition. I tried to boot it, but it tells me that /dev/hda5 has a bad magic number and superblock or something. It then boots into a rescue shell, but nothing works. I tried running vi to fix it, and it told me that vi command not found. Same with ls, man, and a bunch of others. I have a rescue disk, is that all I need? Thanks in advance.

320mb 09-25-2003 04:52 PM

You can use the rescue disk and re-edit fstab back to what is was before......reboot and go back over everything you did.......
.......oh, did you make a mount point for /hda5?? either put the mount point in /hda5 or /mnt/hda5...........

linuxmanju 09-26-2003 01:59 AM

boot into linux using reacue disk and run fdisk /dev/hd* whrere * is ur disk no...

then recreate the partiton using fdisk and
make sure that its linux native partition...
inside fdisk : t {enter}
then change it to 83 ->linux antive and redo the cpoying and fstab editing


All times are GMT -5. The time now is 12:47 PM.