Re: boot problem
On Sun, Nov 23, 2008 at 02:12:53PM -0500, Douglas A. Tutty wrote:
> The problem is in the /etc/rcS.d/S10checkroot.sh script, it gets an
> error when it goes to remount the / fs rw (after the filesystem is
> declared clean).
>
> "Cannot change data mode or remount
> mount / not mounted already or bad option".
>
> Unfortunatly, the script doesn't stop the booting process when it can't
> mount / rw so it goes along and things don't work because / isn't
> mounted rw.
>
> I can manually mount / rw with:
>
> 3 mount -n -o rw,remount -t ext3 /dev/mapper/raid--1-root /
I added a script to /etc/rcS.d that runs this immediatly after the
S10checkroot.sh script, just so that I can get the machine up.
> I tidied up /etc/fstab (which looked like a dog's breakfast) last night,
> but it still looks OK to me. I didn't change the options, just tried to
> line up the columns a bit.
Here's my fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump><pass>
proc /proc proc defaults 0 0
/dev/mapper/raid--1-root / ext3 defaults,errors=remount-ro,data=journal 0 1
#/dev/sda1 /boot ext3 defaults,data=journal 0 2
LABEL=boot /boot ext3 defaults,data=journal 0 2
/dev/mapper/raid--0-home_crypt /home ext3 defaults,data=journal 0 2
/dev/mapper/raid--1-usr /usr ext3 defaults,data=journal 0 2
/dev/mapper/raid--1-var /var ext3 defaults,data=journal 0 2
/dev/mapper/raid--1-var--local_crypt /var/local ext3 defaults,data=journal 0 2
/dev/mapper/raid--0-var--tmp_crypt /var/tmp ext3 defaults,data=journal 0 2
/dev/mapper/raid--1-swap_crypt none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Reply to: