LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-02-2005, 08:41 PM   #1
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Rep: Reputation: 30
Boot Question


Hi,

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:

hdc1 - NTFS (Windows XP)
hdc2 - W95 Ext'd (LBA)
hdc5 - W95 FAT32
hdc6 - Linux

How can I get my boot loader to work again?

I am very new when it comes to linux so please be descriptive. Thanks.

Ryan
 
Old 02-02-2005, 08:58 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
Old 02-02-2005, 09:00 PM   #3
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
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?
 
Old 02-02-2005, 09:08 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.

Type in
shutdown -r now
 
Old 02-03-2005, 07:04 AM   #5
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
I am getting a message saying /etc/fstab is read only. I believe I am logged in as su. Help!
 
Old 02-03-2005, 11:50 AM   #6
Gitzo645
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Mandriva, CentOS
Posts: 41

Rep: Reputation: 15
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
 
Old 02-04-2005, 01:09 AM   #7
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
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.

- Peder
 
Old 02-05-2005, 03:57 PM   #8
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
Hi,

I ended up just reformatting the hard drive and reinstalling Mandrake. Thanks.

Ryan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
Boot Question Sober Guy Linux - Newbie 3 02-23-2005 09:19 PM
yet another boot question Val3ntin Linux - Newbie 4 04-07-2003 06:13 AM
Question about boot up. hi-c Linux - Software 4 11-09-2002 06:33 PM
Boot Question EndevourSystems Linux - General 4 08-16-2001 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration