[1375] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

mounting linux partition under netbsd

daemon@ATHENA.MIT.EDU (Richard S Tibbetts)
Tue Dec 8 00:26:28 1998

To: netbsd-help@MIT.EDU
Cc: tibbetts@MIT.EDU
Date: Tue, 08 Dec 1998 00:26:03 EST
From: Richard S Tibbetts <tibbetts@MIT.EDU>

I a hoping to mount linux (redhat 5.1) formatted partitions under NetBSD
Athena. I have been told that this involves messing with the disklabel
under NetBSD. Currently my disklabel looks like this:
ten-cent-crack-whore.mit.edu# disklabel -r wd0
# /dev/rwd0d:
type: ST506
disk: temp
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 8355
total sectors: 8421840
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   204800       63      4.2BSD     1024  8192    16   # (Cyl.    0*- 203*)
  b:   131072   204863        swap                        # (Cyl.  203*- 333*)
  c:  4192902       63      unused        0     0         # (Cyl.    0*- 4159*)
  d:  8421840        0      unused        0     0         # (Cyl.    0 - 8354)
  e:   131072   335935      4.2BSD     1024  8192    16   # (Cyl.  333*- 463*)
  f:  3725312   467007      4.2BSD     1024  8192    16   # (Cyl.  463*- 4159*)

the portion of the disk living between cyl 4160 and 8354 is a dos extended
partition according to fdisk under linux. inside this partition are 3
logical? partitions, 2 linux native and one linux swap. the linux native i am
interested in.

linux fdisk says my disk looks like this (retyped, not copied)

Partition	begin	start	end	blocks		type	comment
hda1		1	1	261	2096451		a5	NetBSD
hda2		262	262	524	2112547+	5	dos extended

hda5		262	262	338	618471		83	/
hda6		339	339	355	136521		82	swap
hda7		356	356	524	1357461		83	/usr

so, my problem is, what do i do about the extended partion?
generally, i dont know where to begin. if someone could
point me to a faq, that would be great.

thanks in advance to anyone who can help

tibbetts


home help back first fref pref prev next nref lref last post