>From: Dan Nelson <[EMAIL PROTECTED]>
>To: Richard Liang <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Sharing Linux swap space on FreeBSD 4.9
>Date: Wed, 12 May 2004 23:50:30 -0500
>
>In the last episode (May 13), Richard Liang said:
> > Hello everyone,
> >
> > I am trying to enable the linux swap space I have under Red Hat on FreeBSD
> > 4.9. My disk configuration looks like:
> >
> > ad0:
> > s1 - NTFS
> > s2 - Windows extended
> > s3 - ext3
> > s4 - linux swap
> >
>
>You sure swap is on primary fdisk partition 4, and not extended
>partition 1 (aka s5) ? I think Linux will create an extended partition
>rather than use up all four primaries.


Yeah, I'm quite sure. The output from an `fdisk ad0` gives:


******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=7297 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=7297 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7,(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
   start 63, size 40965687 (20002 Meg), flag 80 (active)
       beg: cyl 0/ head 1/ sector 1;
       end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 15,(Extended DOS, LBA)
   start 40965750, size 55295730 (26999 Meg), flag 0
       beg: cyl 1023/ head 254/ sector 63;
       end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 131,(Linux filesystem)
   start 96261480, size 19904535 (9719 Meg), flag 0
       beg: cyl 1023/ head 254/ sector 63;
       end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 130,(Linux swap or Solaris x86)
   start 116166015, size 1044225 (509 Meg), flag 0
       beg: cyl 1023/ head 254/ sector 63;
       end: cyl 1023/ head 254/ sector 63


Richard


_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to