Re: UFS Partitions

Mark Szlaga (mszlaga@engin.umd.umich.edu)
Sun, 8 Nov 1998 16:52:32 -0500 (EST)


On Sun, 8 Nov 1998, Alan Cox wrote:

> > detail as to why I am having this problem. My problem is thus. Whenever I
> > boot into Linux it changes the partition ID of the BSD/386 partition to "b5"
> > which disables the use of this partition under linux. I am currently in a
> > one drive system right now, but this was also problematic when I had a two
> > drive system configured like the howto says (Linux then FreeBSD).
>
> The Linux boot up doesnt (or definitely shouldnt) touch your partition tables.
>

As I was under the impression as well.

> > [root@borg /root]# fdisk /dev/hda
> > The number of cylinders for this disk is set to 1025.
>
> 1025 is a most odd disk size..
>
8.4 GB hdd. the LBA does not quite cover the entire drive. I lose like 100MB
or so using the LBA mode.

> > The long and short of it is that I would like to get my FreeBSD partitions
> > mountable under linux so that I can actually read and write to them. And I
> > am wondering why I am having the problems that I have.
>
> Do you know for sure what or when the partition id changes ?
>
I have not been able to narrow it down to exactly when it changes, but it does
change after teh kernel is uncompressed, but before the partition table is read.

I know this happens for a fact in Linux and only Linux. Booting FreeBSD keeps
a5, so does DR-DOS, Win95, Win98, WinNT and BeOS. I have used pfdisk from
FreeBSD tools dir to ensure that it stays id=165 under dos, A5 under unix.

I'd check Solaris as well, but for some odd reason I cannot quite get it to
boot correctly. (cdrom problem as far as I can tell.)

If there is anything else you need, let me know and I'll give it to you as
soon as I get the mail. This is one that has stumped me, so I went to you
guys here on the kernel list.

Mark

-- 
Mark Szlaga    mszlaga@umd.umich.edu    http://www.umd.umich.edu/~mszlaga/
/dev/hdb5 - 0.5Gb of spinning metal, all alone in the night...
- unknown - alt.sysadmin.recovery
/dev/hdb5 - our last best hope for free space...
- Chip Salzenberg - <chip@pobox.com>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/