Re: fstab problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Miller wrote:
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
Are you sure that these are the correct partitions for the disk? It
seems a bit odd that you don't have /dev/hda1 or /dev/hda2 being used
for something. Did the live cd detect the above?

hda1 & hda2 might be used by Windows.

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?

The system booted to runlevel 2 without a root filesystem? How?
Anyway, runlevel 2 is the Debian default, so _only_ booting to runlevel
2 isn't a bad thing unless you've specified otherwise....

It's my impression that he booted using the LiveCD.

- --
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEpL7RS9HxQb37XmcRAjyfAJ9v7sP1201Pnk/ROU4eEGO1q29UDQCfcEeT
udV6UI6qYc+RZxy8LXmoovo=
=Uq7j
-----END PGP SIGNATURE-----


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



Relevant Pages

  • 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)
  • 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 ... This should tell you the exact partitions that are on your disk. ...
    (Debian-User)
  • 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: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • 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 ...
    (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)