LinHES Forums
http://forums.linhes.org/

Messed Up FSTAB Here's the fix
http://forums.linhes.org/viewtopic.php?f=24&t=23766
Page 1 of 1

Author:  RacerX [ Sat Jun 08, 2013 4:36 pm ]
Post subject:  Messed Up FSTAB Here's the fix

It's been eons since I had to fix a typo in fstab. It can been a real pain so here is a quick way to fix a typo

Boot you mythbox and control-d

then type

Code:
df -hT


This will show the existing mappings (/dev/sda1 is the most like culprit)

Next, download Knoppix 7

http://download.cnet.com/Knoppix/3000-18513_4-75186118.html

create a cd from the iso

In bios set you mythbox to boot you dvd drive first

Boot the knoppix cd

Open up a terminal session

Code:
su

mount /dev/sda1 /mnt/

cd /mnt

cd /etc

nano fstab


save your changes and reboot. Then change Bios to boot HD First and your back in Business :D

Author:  jams [ Sun Jun 09, 2013 8:49 am ]
Post subject:  Re: Messed Up FSTAB Here's the fix

Also possible to use the LinHES install cd instead of the knoppix. Or even easier is skip the CD stuff and use the mount command after df.

Author:  RacerX [ Sun Jun 09, 2013 1:00 pm ]
Post subject:  Re: Messed Up FSTAB Here's the fix

A little more info about the options I tried

Behind Door #1 - Control-D and ran nano but I only had read access so the help mentioned remounting with -o, rw option. What is the correct syntax?
Behind Door #2 - Booting the cd but have not done it that way since knoppmyth eons ago. What is the procedure to do it that way with R8?
Behind Door #3 - Simple, straight forward, works great with only a cd, and the knoppix 7 breakable animation is neat.... :D

Author:  tjc [ Mon Jun 10, 2013 7:11 pm ]
Post subject:  Re: Messed Up FSTAB Here's the fix

RacerX wrote:
A little more info about the options I tried

Behind Door #1 - Control-D and ran nano but I only had read access so the help mentioned remounting with -o, rw option. What is the correct syntax?

If memory serves:
Code:
mount -o remount rw /


RacerX wrote:
Behind Door #2 - Booting the cd but have not done it that way since knoppmyth eons ago. What is the procedure to do it that way with R8?
Behind Door #3 - Simple, straight forward, works great with only a cd, and the knoppix 7 breakable animation is neat.... :D

I tend to use the PartEd Magic CD for this. It's specifically set up for initialization and recovery work and makes stuff like this a breeze, but any decent bootable ISO should work.

Author:  RacerX [ Mon Jun 10, 2013 9:42 pm ]
Post subject:  Re: Messed Up FSTAB Here's the fix

Thanks for the tip next time the FSTB gets stuck I'll give it a try....

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/