MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Windows XP/Mandrake 10.1 dual boot configuration. I also have a FAT32 partition (to share files between my OSs). I ran diskdrake and tried to delete the FAT32 partition. Upon rebooting (and selecting 'linux' from the boot menu, I get an error:
'Bad magic number in super-block while trying to open /dev/hdc5 Failed to check filesystem. Do you want to repair errors? (Y/N). I choose "Yes" and I get a message saying "Failed". I then get tossed to a shell.
I treid to go back into Windows and recreate the FAT32 partition, but the same thing happens. Here's my config:
Mandrake usually automatically configures windows partitions to mount at boot. Since you deleted the partition Mandrake can no longer mount this partition. You recreated hdc5 but probably didn't format it with a filesystem.
Edit the /etc/fstab file and remove the entry for hdc5.
The hdc5 partition does exist. I recreated it in Windows with partition magic. It also shows up when I do a fdisk. I can't get into linux. I get dumped to a shell. Any suggestions as to what I can do? Do you need any more information?
Is it formated? The shell is linux, it just isn't a GUI.
Go to the /etc/ directory and edit the file:
vi fstab
use the arrow keys to scroll down to the line that contains /dev/hdc5.
Press the Insert key.
Enter a # character at the beginning of the line.
Press the Esc key
Enter : Character
Enter wq
Press the Enter key.
heh one way to make it not read only it to chmod it 777, to do this make your way into /etc and type "chmod 777 fstab" ...be sure to be logged in as root
Don't listen to Gitzo645. If you're logged in as root there's no need to chmod 777.
If you don't know who you're logged in as you can run 'echo $UID' (or 'echo $uid' if you run csh)
If the reply is anything other than "0" you're NOT root and thus can't edit /etc files.
Your problem might be that the partition is mounted read-only. If you type 'mount' you'll see
something like "/dev/hda6 on / type ext2 (ro)" . The (ro) part means read-only.
When you get tossed into the shell you should be given a possibility to enter the root password
to be able to correct things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.