Linux - NewbieThis 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
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.
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
dadgum external drive
ok here's what happened
got an external drive ( 1.5 seagate w/ vantec enclosure)
esata directly into motherboard with external power supply
using lvm went to format the durn thing
chug-chug screen blank (probably just big drive)
I thought maybe the program froze
exit program
turn off enclosure
reboot
now Fedora 8-64 wont start says my fstab is horked
wont let me edit the fstab says read only no root
when it restarted it looked for the new drive sdc ( which was still off )
de faulted to the
(repair Filesystem)# prompt
i thought it wanted to repair it so i typed yes at the prompt
which started a run of "y"'s down the screen till i rebooted again
I can see my install but cannot edit the fstab to ignore the drive
obviously i turned the drive on and plugged it back in only to have it complain bout the swap not initializing
If you can reboot and get to the (repair Filesystem)# prompt, I think (and I'm going from memory here) that your mounted filesystem is still your initrd.
If your root filesystem is on LVM, you need to do a few things. (If it's not this won't work. Let me know if that's the case.)
First, you need to pvscan, vgscan, possibly vgchange -ay, then lvscan to see if the logical volumes are available. If running off the initial ramdisk filesystem, those commands aren't directly available. You have to 'lvm pvscan', 'lvm vgscan', etc.
When you get to the point where the 'lvm lvscan' shows your root filesystem logical volume is active, you can mount it and edit /etc/fstab.
So you could "mkdir /m", 'mount /dev/<volumegroup>/<rootlogicalvolume> /m', then 'vi /m/etc/fstab' to remove the offending line. Reboot and you should be ok.
This is all from memory, so I hope my recall is good. Good luck. Post your results, good or bad.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.