* Re: Reading the BSD partition table from Linux/Intel
[not found] <UTC200004261759.TAA11494.aeb@arend.cwi.nl>
@ 2000-04-27 12:04 ` Maciej W. Rozycki
0 siblings, 0 replies; 2+ messages in thread
From: Maciej W. Rozycki @ 2000-04-27 12:04 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: hugh, linux-kernel, axp-list, suse-axp
On Wed, 26 Apr 2000 Andries.Brouwer@cwi.nl wrote:
> > UP2000 has an on-board Adaptec AIC7896. Recently, the motherboard
> > itself got screwed. I now need to access the data in the hard disk
> > attached to that system. The hard disk has the BSD disklabel
>
> It seems you are not quite sure what type of disklabel and what type
> of filesystem this disk has (perhaps BSD / perhaps ufs or ext2).
If using 2.3.x kernels you need to enable CONFIG_OSF_PARTITION to access
SRM-compatible disks prepared on Alpha. The kernel will be able to mount
these partitions then.
For 2.2.x kernels the option is exactly the same but it is not
user-settable -- it's set unconditionally in linux/genhd.h when compiling
for Alpha. I suppose you may just change the "#ifdef __alpha__" that
precedes it to "#if 1" to set it unconditionally for every architecture.
> Once your disklabel is read correctly you find the filesystemtype
> just by trying to mount (mount -t ext2 ... or mount -t ufs ...).
> Note that there are many flavours of ufs. Read mount(8) and
> linux/Documentation/filesystems/ufs.txt .
If the disk was used for Linux it almost surely has the ext2 filesystem.
If it was used for OSF/1 then it has the ufs filesystem (or an advfs
filesystem Linux cannot handle).
> If you want to use fdisk to look at the disklabel, use the latest one
> (from util-linux 2.10l).
Looking at bselect() from the current fdisk it will not handle OSF/1
disklabels unless on Alpha so you cannot look at these on an i386/Linux
machine. You may try to compile minlabel -- not sure if it will work for
i386/Linux straight out of the box, though.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reading the BSD partition table from Linux/Intel
[not found] <Pine.LNX.4.10.10004280941220.23991-100000@lucia.kjist.ac.kr>
@ 2000-04-28 14:31 ` Maciej W. Rozycki
0 siblings, 0 replies; 2+ messages in thread
From: Maciej W. Rozycki @ 2000-04-28 14:31 UTC (permalink / raw)
To: G. Hugh Song; +Cc: Andries.Brouwer, linux-kernel, axp-list
On Fri, 28 Apr 2000, G. Hugh Song wrote:
> > If using 2.3.x kernels you need to enable CONFIG_OSF_PARTITION to access
> > SRM-compatible disks prepared on Alpha. The kernel will be able to mount
> > these partitions then.
>
> I'd like to comment that "OSF_PARTITION" may confuse many including me.
> It would have been better if the option title were "SRMBOOT_PARTITION".
Hmm, actually the most appropriate description for this kind of a
disklabel is a "4.3BSD Tahoe disklabel". This is a standard format of
disklabels that has been introduced by that release of BSD Unix as an
effort to standarize disk partitioning and is used by many BSD
derivatives, such as OSF/1, Mach, NetBSD and others, for various
platforms, including but not limited to Alpha systems.
I don't actually think the name of the option needs a change here; the
description within Configure.help might probably be clarified, though.
> It is quite frustrasting to accept this as a Linux/Alpha user.
> Even those MacIntosh file systems are readable under Linux/i386.
> I think that there are more cases of rescue operation with OSF_RARTITION
> rather than those with the MacIntosh_PARTITION.
You do not need fdisk for mounting filesystems -- the kernel will see
them fine. You only need fdisk (or minlabel) to view or change a layout
of partitions.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-28 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.10.10004280941220.23991-100000@lucia.kjist.ac.kr>
2000-04-28 14:31 ` Reading the BSD partition table from Linux/Intel Maciej W. Rozycki
[not found] <UTC200004261759.TAA11494.aeb@arend.cwi.nl>
2000-04-27 12:04 ` Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox