Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-02 Thread William Boshuck
On Sun, Nov 02, 2008 at 07:31:04AM +0530, Girish Venkatachalam wrote: > On 13:36:22 Nov 01, Chris Kuethe wrote: > > As long as your filesystems are still readable, you can use a more > > comfortable tool: > > > > mount /dev/wd0a /mnt > > mount /dev/wd0d /mnt/var > > mount /dev/wd0e /mnt/usr > > /m

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Girish Venkatachalam
On 10:01:54 Nov 02, Girish Venkatachalam wrote: > vi is certainly there. You have to mount /usr. > Which means it is not part of RAMDISK kernel. Sorry Edd is right and I was wrong. I end up using vi from somewhere I don't remember whenever I boot in single user mode. I guess it needs /tmp and

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Girish Venkatachalam
On 02:39:06 Nov 02, Edd Barrett wrote: > > As much as i love vi/vim/nvi, these are not available in ramdisk kernels. > vi is certainly there. You have to mount /usr. -Girish

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Edd Barrett
On Sun, Nov 2, 2008 at 2:01 AM, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: > I use vim all the time. He he. As much as i love vi/vim/nvi, these are not available in ramdisk kernels. -- Best Regards Edd http://students.dec.bournemouth.ac.uk/ebarrett

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Girish Venkatachalam
On 13:36:22 Nov 01, Chris Kuethe wrote: > As long as your filesystems are still readable, you can use a more > comfortable tool: > > mount /dev/wd0a /mnt > mount /dev/wd0d /mnt/var > mount /dev/wd0e /mnt/usr > /mnt/usr/sbin/chroot /mnt > vi (or mg) /etc/fstab > > you could possibly even just copy

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread soko . tica
On 11/1/08, Edd Barrett <[EMAIL PROTECTED]> wrote: > On Sat, Nov 1, 2008 at 7:33 PM, soko.tica <[EMAIL PROTECTED]> wrote: >> #chmod 766 /tmp/a/etc/fstab >> # ed /tmp/a/etc/fstab >> 215 >> q >> # > > > That is ed doing its job :) > Many thanks! I did figure it out myself meanwhile, but since I alr

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread William Boshuck
On Sat, Nov 01, 2008 at 08:33:44PM +0100, soko.tica wrote: > Hello list, > > I did manage to scr... err, mess up partitioning scheme through > disklabel, so I've booted from floppy, mounted partitions to /tmp/a/, > tmp/d/, /tmp/e/, but when I attempt to edit etc/fstab by ed I get: > > #chmod 766

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Chris Kuethe
As long as your filesystems are still readable, you can use a more comfortable tool: mount /dev/wd0a /mnt mount /dev/wd0d /mnt/var mount /dev/wd0e /mnt/usr /mnt/usr/sbin/chroot /mnt vi (or mg) /etc/fstab you could possibly even just copy your fstab from your freshly mounted /var (/var/backups/etc

Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread Edd Barrett
On Sat, Nov 1, 2008 at 7:33 PM, soko.tica <[EMAIL PROTECTED]> wrote: > Hello list, > > I did manage to scr... err, mess up partitioning scheme through > disklabel, so I've booted from floppy, mounted partitions to /tmp/a/, > tmp/d/, /tmp/e/, but when I attempt to edit etc/fstab by ed I get: > > #ch

editors in floppy44.fs (OpenBSD 4.4.) - newbee help

2008-11-01 Thread soko.tica
Hello list, I did manage to scr... err, mess up partitioning scheme through disklabel, so I've booted from floppy, mounted partitions to /tmp/a/, tmp/d/, /tmp/e/, but when I attempt to edit etc/fstab by ed I get: #chmod 766 /etc/fstab # ed /etc/fstab 215 q # I've arrived there by adding new part