xfs
[Top] [All Lists]

"LILO: /dev/sda: Read-only file system" after /boot flirted with xfs

To: <linux-xfs@xxxxxxxxxxx>
Subject: "LILO: /dev/sda: Read-only file system" after /boot flirted with xfs
From: Sergei Morozov <smv@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 20:32:21 -0700 (PDT)
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I have managed to compile linux-2.4.6-pre9-xfs-smp kernel and converted
/home and /projects to xfs, and it worked great. Then foolishly I repeated
the exercise for /boot, and got LI on reboot. Using floppy with old
non-xfs kernel I booted all non-xfs partitions; and turned /boot back to
ext2 (but at the cost of its content), pulled xfs-aware kernel out of the
depths of /usr/src/linux-2.4/ into /boot; and try to rerun lilo
but it wouldn't install by saying

#lilo -v
LILO version 21.4-4 Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/sda
Merging with /boot/boot.b
Fatal: read /dev/sda : Read-only file system


#more /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=xfs
message=/boot/message
image=/boot/vmlinuz-2.4.6-pre9-xfs-smp
        label=xfs
        read-only
        root=/dev/sda5

#more /etc/mtab
/dev/sda5 /     ext2 rw 0 0
none      /proc proc rw 0 0
/dev/sdb1 /usr  ext2 rw 0 0
/dev/fd0  /mnt/floppy ext2 rw,noexec,nosuid,nodev 0 0
none      /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda1 /boot ext2 rw 0 0

#more /etc/fstab
/dev/sda5 /     ext2 rw 0 0
/dev/sda1 /boot ext2 rw 0 0
/dev/sdb6 /home xfs deafults 1 2
/dev/cdrom /mnt/cdrom iso9660 auto,user,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 auto,user,ro 0 0
/dev/sda7 /projects xfs defaults 1 2
/dev/sdb1 /usr  ext2 rw 0 0
/dev/fd0  /mnt/floppy auto auto,user 0 0
none      /proc proc rw 0 0
none      /dev/pts devpts gid=5,mode=620 0 0
/dev/sda6 swap swap defaults 0 0
/dev/sdb5 swap swap defaults 0 0

It doesn't seem that /boot is read only.
How I now make lilo install somewhere, best of all to MBR and /boot and
restore contents of /boot? And, yes, xfs kernel is too big for floppy.

TIA,
        Sergei


Writing is easy;
all you do is sit staring
at the blank sheet of paper until
drops of blood form on your forehead.
                -- Gene Fowler

Sergei Morozov
Department of Economics
Stanford University
Stanford, CA, 94305-6072
ph: (650)-725-8984 (o)
    (650)-498-1248 (h)


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOH8VK3ZlrUSqDLbVAQFHIwP/dYGV0yV2AYoFWWfJDE6WMtYOLjUSebaV
Mzv3ICK2SDPTQ6u3lKx/7VXdY1151pqRZ3Kn7Z8FPZ2KxjRIqeLtOsCMFPRXM234
j23RfBtNPzG2pTOciJvqh0uHxySMR7Dzee+gjniNJadXyE0Y2+C33HICuVVqDH8O
ZEhGny68w7c=
=sz39
-----END PGP SIGNATURE-----





<Prev in Thread] Current Thread [Next in Thread>