fstab problem



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?

Thanks very much!

Deephay


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Moving Unstable to new HDD
    ... My normal method of dealing with this is to boot from a live CD, ... Mount all the partitions reletive to the way ... After all files are copied, edit the fstab file on the new drive as ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Moving Unstable to new HDD
    ... My normal method of dealing with this is to boot from a live CD, ... Mount all the partitions reletive to the way ... After all files are copied, edit the fstab file on the new drive as ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: unable to access sda2 on boot - SOLVED
    ... which FC I want to boot 2.6.20 or 2.6.19. ... Should I start with the fstab changes you suggested? ... That's drives, not ports, it doesn't count unused ports. ... > The resume message means the system couldn't find the drive partition to ...
    (Fedora)
  • Re: fstab problem
    ... 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 ... Luckily I have a LiveCD and I boot the LiveCD system and change the fstab: ... Is "common sense" really valid? ...
    (Debian-User)
  • fstab and removable usb drives
    ... I'm experimenting with fstab lines to streamline mounting my removable ... usb drives. ... to boot without manual intervention when the drive isn't attached (I am ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)