[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fstab problem

Hash: SHA1

Deephay wrote:
> Greetings all,
> I have a problem with my /etc/fstab and the system cannot boot.
> I copied a fstab file from another machine, but I fogot that the file
> system of the root volume on that machine is ext3 but the one I have
> is XFS, so the system cannot boot anymore.
> Luckily I have a LiveCD and I boot the LiveCD system and change the fstab:
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/hda3       /               xfs     defaults,errors=remount-ro
> 0       1
> /dev/hda8       /boot           ext3    defaults        0       0
> /dev/hda9       none            swap    sw              0       0
> /dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
> but the system can only boot to runlevel 2, and the message said that
> the '/' is not mounted yet (wrong option).
> So, how can I write a correct fstab?

Mount / from the command line.  For example:

# mount -v -t ext3 /dev/hda3 /mnt/dev/hda3

(Or whatever LiveCD calls that mountpoint.)

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Reply to: