LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2004, 11:31 PM   #1
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Rep: Reputation: 30
Blewup FSTAB


I changed my IDE device configuration when I put the computer components into my new case. (I previously had the parts strewn across my desk) After some basic (newbie) diagnostic, I found out that, while my fstab reads /dev/hda# for the hd, I need to use /dev/hdc# . However, I cannot figure out how to change this. I cannot boot normally. The closest I got was a reboot that said "An error has been detected in your hardrive. You may log in to fix the error" (or something similar). When I log in and try to change fstab via emacs, it says the File System is read only. Im stumped!

-------------------------
Edited for clarity....

Last edited by mattp; 03-15-2004 at 11:33 PM.
 
Old 03-15-2004, 11:58 PM   #2
Thrasher
Member
 
Registered: Oct 2003
Location: Riverside, CA
Distribution: Slackware/RedHat
Posts: 79

Rep: Reputation: 15
U logged in as root or went to su when you tryed to change it in emacs?
IF so, try VI. if that dont do it, dunno wut to tell ya.
good luck
 
Old 03-15-2004, 11:59 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
do you have a live-cd? knoppix, gentoo, slackware, probly even redhat, fedora, mandrake, most any bootable install cd get to the console or if on a graphical install cd the rescue console, mount the drive and edit it from there, if the cd doesnt have a text editor then chroot into your linux partition and use your normal one mount /dev/hdc1 /mnt/hdc1 chroot /mnt/hdc1 /bin/bash pico /etc/fstab
 
Old 03-15-2004, 11:59 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
As long the system at least boots and you can log in as root, you can fix your fstab. You are probably just logging in as a regular user, but to edit fstab you need to be root. Become root, make your edits, save, reboot and you should be golden. -- J.W.
 
Old 03-16-2004, 09:32 AM   #5
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
After some serious linux *hacking*, ( : I got it to work! Thanks
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 06:54 AM
Help with Fstab Garibaldi3489 Slackware 8 12-03-2004 08:18 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 06:55 PM
/etc/fstab mimsmall Red Hat 6 02-13-2004 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 PM.

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