Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Mount root readonly when booting Debian
@ 2003-03-04  2:36 Jim West
  2003-03-05  4:14 ` Jim West
  0 siblings, 1 reply; 2+ messages in thread
From: Jim West @ 2003-03-04  2:36 UTC (permalink / raw)


I installed Debian on a Miata last week, and only created a boot floppy.
I decided I want to keep Debian, so I manually set it up to boot from
the hard drive. It works, but it mounts the root partition read-write
so e2fsck cannot run. How do I go about making it properly mount
read-only so that it will remount read-write when it is checked? rdev
obviously doesn't exist on the Alpha port! My aboot.conf file is:

0:1/vmlinuz ro root=/dev/sda1

and the fstab entry is

/dev/sda1   /       ext2    defaults    1   1

Note that changing this to defaults,ro made it mount read-only, but
it didn't remount read-write after the e2fsck pass.

I guess the next question would be, where are the scripts that Debian
uses to set things up during install? Things like the network
configuration, making the system bootable, etc. I've used Slackware/SLS
for ten years, but Debian is brand new to me.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mount root readonly when booting Debian
  2003-03-04  2:36 Mount root readonly when booting Debian Jim West
@ 2003-03-05  4:14 ` Jim West
  0 siblings, 0 replies; 2+ messages in thread
From: Jim West @ 2003-03-05  4:14 UTC (permalink / raw)


In article <4jU8a.161332$zL6.128440@news2.central.cox.net>, Jim West wrote:
> I installed Debian on a Miata last week, and only created a boot floppy.
> I decided I want to keep Debian, so I manually set it up to boot from
> the hard drive. It works, but it mounts the root partition read-write
> so e2fsck cannot run. How do I go about making it properly mount

snip

> 
> /dev/sda1   /       ext2    defaults    1   1

Nevermind, I also had another fstab line trying to mount /dev/sda1 to
another point, transfered over from the earlier system. Stupid, stupid,
stupid.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-05  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04  2:36 Mount root readonly when booting Debian Jim West
2003-03-05  4:14 ` Jim West

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox