Re: fstab problem
- From: John Miller <jmiller@xxxxxxxxxx>
- Date: Fri, 30 Jun 2006 02:41:52 -0400
Ron Johnson wrote:
John Miller wrote:Sure might be. Deephay said that he copied his /etc/fstab file from
Deephay wrote:
Greetings all,Are you sure that these are the correct partitions for the disk? It
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
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.
another machine, though. Given that his initial question is about
/etc/fstab, it makes sense to double-check it.
Mine too--my take was that he copied over /etc/fstab while the systembut the system can only boot to runlevel 2, and the message said thatThe system booted to runlevel 2 without a root filesystem? How?
the '/' is not mounted yet (wrong option).
So, how can I write a correct fstab?
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.
was still running; tried to boot, but couldn't; booted using the
LiveCD's root partition; mounted the hard disk; fixed /etc/fstab; then
tried to boot without the LiveCD.
It would certainly have been possible to boot from the LiveCD, but using
the hard disk's root partition. Was that your take on the matter?
--John
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: fstab problem
- From: Deephay
- Re: fstab problem
- References:
- fstab problem
- From: Deephay
- Re: fstab problem
- From: John Miller
- Re: fstab problem
- From: Ron Johnson
- fstab problem
- Prev by Date: Re: Why Debian3.1 is slower so much than FreeBSD6.1 in our test?
- Next by Date: Re: fstab problem
- Previous by thread: Re: fstab problem
- Next by thread: Re: fstab problem
- Index(es):
Relevant Pages
|