Re: fstab problem

2012-01-14 Thread Bernt Hansson



2012-01-14 11:00, per...@pluto.rain.com skrev:

Bernt Hansson  wrote:


This is an old machine (1997), not sure it will boot from usb.
I'll check.


If it can boot from floppy, Plop will boot it from USB.
http://www.plop.at/en/bootmanagers.html


Thank you. I'll have a look at it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fstab problem

2012-01-13 Thread perryh
Bernt Hansson  wrote:

> This is an old machine (1997), not sure it will boot from usb.
> I'll check.

If it can boot from floppy, Plop will boot it from USB.
http://www.plop.at/en/bootmanagers.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fstab problem

2012-01-13 Thread Matthias Apitz
El día Friday, January 13, 2012 a las 11:01:40AM +0100, Bernt Hansson escribió:

> Hello list!
>
> I've moved /etc/fstab to /etc/fstab.org
>
> When booting I get prompted with
>
> >mountroot
>
> Ok. I type ufs:ad0s1a
>
> The crap boot up. But I can't get the filesystem to become R/W
>
> Tried /sbin/mount -o rw /ad0s1a /
> /sbin/mount -o rw,force /ad0s1a /
> /sbin/mount -o force /ad0s1a /
>
> But /sbin/mount only shows ro.
>
> Don't really know what to do, except reinstall and that's a noop.

As a last resort, you could boot an USB livefs, mount the disk to /mnt
and do the change back in the root fs;

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fstab problem

2012-01-13 Thread Matthew Seaman
On 13/01/2012 10:01, Bernt Hansson wrote:
> Hello list!
> 
> I've moved /etc/fstab to /etc/fstab.org
> 
> When booting I get prompted with
> 
>>mountroot
> 
> Ok. I type ufs:ad0s1a
> 
> The crap boot up. But I can't get the filesystem to become R/W
> 
> Tried /sbin/mount -o rw /ad0s1a /
> /sbin/mount -o rw,force /ad0s1a /
> /sbin/mount -o force /ad0s1a /
> 
> But /sbin/mount only shows ro.
> 
> Don't really know what to do, except reinstall and that's a noop.

fsck /dev/ad0s1a
/sbin/mount -u -o rw /dev/ad0s1a /

You should then be able to recover /etc/fstab, fix any problems within
it and then on exit, the system should continue with a normal multi-user
bootup.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: fstab problem

2012-01-13 Thread Frank Brendel

Use  /dev/ad0s1a instead of /ad0s1a.

Frank

Am 13.01.2012 11:01, schrieb Bernt Hansson:

Hello list!

I've moved /etc/fstab to /etc/fstab.org

When booting I get prompted with

>mountroot

Ok. I type ufs:ad0s1a

The crap boot up. But I can't get the filesystem to become R/W

Tried /sbin/mount -o rw /ad0s1a /
/sbin/mount -o rw,force /ad0s1a /
/sbin/mount -o force /ad0s1a /

But /sbin/mount only shows ro.

Don't really know what to do, except reinstall and that's a noop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"