home *** CD-ROM | disk | FTP | other *** search
- Path: eno.Princeton.EDU!john
- From: john@eno.Princeton.EDU (John Saponara)
- Newsgroups: comp.unix.amiga
- Subject: How avoid read-only filesystem with linux?
- Date: 17 Apr 1996 03:06:21 GMT
- Organization: Princeton University
- Distribution: world
- Message-ID: <4l1n7d$4po@cnn.Princeton.EDU>
- Reply-To: john@eno.Princeton.EDU (John Saponara)
- NNTP-Posting-Host: meenie.princeton.edu
- Originator: john@meenie
-
-
- Hi folks,
-
- I tried to install linux, first by following the InstGuide2.0a.txt
- and then from watchtower-fs.README, but arrived at a read-only
- state with both. This was not due to an improper shutdown, AFAIK.
- My machine is an a4000, 18Megs ram, 120Meg hard drive, OS3.1
- Due to my small hard drive, I'm using /dev/hda1 as amiga sys:,
- /dev/hda2 as generic amiga space (for holding linux archives to be
- installed), /dev/hda3 for linux root and usr, and /dev/hda4 for
- swap (haven't set that up yet).
-
- My most recent procedure follows.
-
- amiboot-3.1 -d -k vmlinux1.2.13pl9 -r filesys.pl4.newer.minix \
- video=multiscan-productivity,inverse
-
- cd mnt
- mkdir am root
- mke2fs /dev/hda3
- mount -t affs /dev/hda2 am
- mount -t ext2 /dev/hda3 root
- cd root
- tar xzf ../am/linux/watchtower-root-fs.tar.gz
- shutdown -r now
-
- [ amiga reboots ]
-
- amiboot-3.1 -k vmlinux1.2.13pl9 root=/dev/hda3 \
- video=multiscan-productivity,inverse
-
- vi /etc/fstab
- # get error: "read-only filesystem"
- # therefore remount:
-
- mount -n -o remount -t ext2 /dev/hda3 /
-
- mkdir /mnt/am
- vi /etc/fstab
- # set up fstab like this:
- /dev/hda3 / ext2 defaults
- /proc /proc proc defaults
- /dev/hda2 /mnt/am affs defaults
-
- # watchtower comes only with /dev/sd*,
- # so make hd* for a4000 IDE controller:
-
- cd /dev
- mknod /dev/hda2 b 3 2
- mknod /dev/hda3 b 3 3
-
- cd /mnt/root
- tar xzf ../am/linux/watchtower-usr-fs.tar.gz
- # tar periodically prints: Warning - bdflush not running
-
- ldconfig
- shutdown -r now
-
- [ amiga reboots ]
-
- amiboot-3.1 -k vmlinux1.2.13pl9 root=/dev/hda3 \
- video=multiscan-productivity,inverse
-
- cd /etc
- rm inittab
- [ get error: "read-only filesystem" ]
- [ therefore remount: ]
- mount -n -o remount -t ext2 /dev/hda3 /
- rm inittab
- ln -s inittab.multiuser inittab
- shutdown -r now
-
- [ amiga reboots ]
-
- amiboot-3.1 -k vmlinux1.2.13pl9 root=/dev/hda3 \
- video=multiscan-productivity,inverse
-
- At this point, linux still boots with a read-only filesystem and gives
- many error messages stating that it is incapable of writing mtab, utmp,
- and other files. There is no /etc/rc file (which I read is supposed to
- remount the read-only root fs during boot up).
-
- The linux faq talks about using `e2fsck -a', but not on a writable
- root partition.
-
- Any suggestions appreciated!
- John
-
-