Yestarday evening, I tried to boot to Linux Mint only to discover that my drive had corrupted and my /etc/ folder was gone. I determined it was TOTALLY gone (though I certainly didn't delete it, I also checked to see if it was moved by accident - I don't usually spend time as root, so I don't see how it happened unless it was while I was in another OS, such as Windows).
Thinking quickly, and following a guide I found on the forums, I ran fsck, replaced my disappearing ETC folder with one from my livecd, made myself a new username (I had to use mount -o remount,rw / in order to actually write to the disk, the first time that something went wrong), and changed the FSTAB to this (I'm fairly sure all the syntax is right; it includes my root directory :
- Code: Select all
/dev/sda4 / ext3 defaults 1 1
/dev/cdrom0 /media/cdrom auto ro,noauto,user,exec 0 0
/dev/sda3 /media/windowshd ntfs-3g defaults 1 2
/dev/sda2 /media/machd hfsplus defaults 1 3
When I reboot not in the recovery mode, I get an error which claims that X failed to start. I ran startx, and it tells me it can't get a lock on something or the other and that it is a readonly file system, even though I have specified in my fstab that it should be RW (since that is included in defaults). Why is this happening? Can I prevent it? I need to get back into my system so I can rebuild everything, I CANNOT do a reinstall because I do not have time to backup and reinstall ALL my programs and settings from scratch.
Fortunately, I still have two bootable OSes on my computer - Mac OS X and Windows Vista Ultimate. I am runing a Macbook Pro, bout a year and a half old, with an Intel Core 2 duo 2.33 GHZ processor, 2GB RAM, and a 160GB hard drive. Any and all help is appreciated - thanks!