If I remember right:
1) find the device,
cat /proc/partitions
2) make a mount point
mkdir /tmp/toto
* You cannot mount it in / because let's say, the partition found in 1,
already contains an /etc directory. This is also the case for a live CD.
3)mount the partition found in 1 to /tmp/toto
* If there are errors, they will be displayed.
* You can also do a fsck to the partition before the mount
4) cd to /tmp/toto
ls -als . | egrep fstab
5) vi the file found in 4.
**********************************************
Le 2012-01-31 16:39, Denis-André Desjardins. a écrit :
Okay then, ohw do I do this; Another easy way to do it is boot from a
livecd, then mount your /dev/sda1 (or whatever partition fstab is on) to
/mnt and edit it from there. Please write the entire command.
2012/1/30 Michel-André <[email protected]
<mailto:[email protected]>>
Again, AFAIR, It remains to be seen as I don't have a Linux on hand.
Michel-André
******************************__******
Le 2012-01-30 16 <tel:2012-01-30%2016>:27, Jeremy a écrit :
On 01/30/2012 04:13 PM, Michel-André wrote:
AFAIR, it is not mounted in /, I think it is in /tmp/...
Michel-André
If that were the case the system could not boot since it would
look for
things in /boot and /etc, not /tmp/etc...
The remount command David gave should work, although different
distros
may do this differently.
Another easy way to do it is boot from a livecd, then mount your
/dev/sda1 (or whatever partition fstab is on) to /mnt and edit
it from
there.
Jeremy
_________________________________________________
mlug mailing list
[email protected] <mailto:[email protected]>
https://listes.koumbit.net/__cgi-bin/mailman/listinfo/mlug-__listserv.mlug.ca
<https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca>
_________________________________________________
mlug mailing list
[email protected] <mailto:[email protected]>
https://listes.koumbit.net/__cgi-bin/mailman/listinfo/mlug-__listserv.mlug.ca
<https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca>
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca