LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-21-2005, 02:08 PM   #1
Anjin
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake 10CE
Posts: 19

Rep: Reputation: 0
How to repair FStab after changin hard drives?


Hi all I'm sure this is a trivial thing but it's got me stumped.

After upgrading my hard drives recently linux refuses to boot giving saying it can't mount the filesystems, the problem seems to be that my hard disks are now called hdd where fstab refers to them as hdf.
Could someone give me a simple newbie walkthrough how to fix this problem? Either from the Mandrake repair console on the CD or the maintainance mode it goes into when I try to boot? (Including basic things like the text editor to use, I'm pretty clueless sorry )
Thank you!
 
Old 03-21-2005, 02:24 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can fix your problem by booting from a live cd, mounting your root partition and then correcting the /etc/fstab. If you don't have a live cd, you can use your Mandrake installation cd, then do at the boot prompt,

1) press f1 and type linux-rescue
2) chroot /mnt/sysimage
3) cd etc
4) edit fstab using whatever editor your have and then reboot.

You will need to provide details of your root (/) partition, just before step 2.
 
Old 03-22-2005, 02:51 AM   #3
Anjin
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake 10CE
Posts: 19

Original Poster
Rep: Reputation: 0
*Sigh* I got it working for about 5 minutes until KDE crashed and I had to reboot, now I get a load of hex information when I try to boot and the computer stops.
Oh well I guess I'll have to reinstall or better yet find another Distro, Mandrake has caused me nothing but headaches so far.

Thanks for your help anyway
 
Old 03-22-2005, 03:18 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Remember MDK CE is beta software. If you install OE (Official Edition) you have a newer, fixed OS with
additional bugfixes along the way.

- Peder
 
Old 03-22-2005, 04:04 AM   #5
Anjin
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake 10CE
Posts: 19

Original Poster
Rep: Reputation: 0
As part of the process of trying to get it working I upgraded my 10.0 CE to 10.1 OE. I think that may be the cause of the instability once I got things (briefly) working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Repair Hard drive bad sector jselby Linux - Hardware 4 10-25-2005 07:27 PM
software to repair hard disk errors R++ Linux - Software 14 03-26-2005 08:01 PM
fstab changin on me LDZ420 Linux - Newbie 3 02-18-2005 05:32 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM
repair my fstab alaios Linux - General 1 09-14-2003 03:37 PM

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

All times are GMT -5. The time now is 05:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration