Samantha Samuel on Sat, 26 Jan 2002 04:30:14 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] EXT2-fs horror


> And the LKM for the network device doesn't work?

It does work on new kernel. No support on old one. Sorry if that was not
clear earlier.

> mount_ext2fs -o noatime,nodev,nocoredump,noexec,nosuid,rdonly <dev> <mnt>
Um...Dunno how to mount another partition. I know in Linux it would be
<dev>=/dev/hda1
<mnt>=/mnt
In netbsd its wd0, wd1, so its /dev/wd0?? I couldn't figure out how to see
the entire hard-drive.

Oh, I found the dissapearing dir in /home/lost+found under numbered dirs,
among other things. I found other user's (this is my own comp) stuff on
there too, plus many proggies I had made accessible only to root, and
so on that I discovered to be missing. I am pretty convinced
its because of the overlapping when I installed netbsd.

Under netbsd I did fdisk and found this:
Parition table:
0:  sysid 131 (Linux Native)
    start 63(which I believe is the right num), size 10249407 (5004MB)
    beg: cylinder 0, head 1, sector 1
    end cylinder 637, head 254, sector 63
1: sysid 169(NetBSD)
   start 10249470, size 5002MB
   beg:  cylinder 638, head 0, sector 1
   end: cylinder 1022, head 254, sector 63 (is this the prob?)

> Incidentally, adding the sync flag to /etc/fstab for your disk on

Did that.

> Is it that the user's directory is gone or that /etc/passwd is

The user's entry is in /etc/passwd. The home dir was not there.

> borked? (What's the inode number of /etc/passwd? Of the user's home

inode number:480986. May I know what can be determined from this number? I
don't know much about this. No idea as to how to find out what cylinder it
is on.

> You ARE installing NetBSD on a separate MBR and fdisk partition,
> right?
Separate MBR: No.
Separate partition: Yes.
Didn't know you could have more than one MBR.

fdisk under Linux:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1       638   5124703+  83  Linux
/dev/hda2   *       639      1276   5124735   a9  NetBSD
/dev/hda3          1277      1914   5124735    c  Win95 FAT32 (LBA)
/dev/hda4          1915      4867  23719972+   5  Extended
/dev/hda5          1915      1931    136521   82  Linux swap
/dev/hda6          1932      3206  10241406   83  Linux
/dev/hda7          3207      3334   1028128+  83  Linux
/dev/hda8          3335      3818   3887698+   e  Win95 FAT16 (LBA)

> Does recreating the user's home directory under Linux (and doing a
> sync) make NetBSD unbootable?

Didn't.

> sysinst only writes into partitions you've told it to and into the

That is what I thought too, but since the user's account was hosed twice
after installing NetBSD, it seemed a little fishy.

> I've never heard of a piece of software going by the name "bootman".

bootman is the bootmanager for BeOS. Got mixed up in the names. :)


---
Samantha
-------
Real programmers do not comment their code. If it was hard to write, it
should be hard to understand.




______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug