Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 11:08:25 -0400 (EDT)
From:      Antoine Beaupre <beaupran@IRO.UMontreal.CA>
To:        chad@rez.com
Cc:        stable@FreeBSD.ORG
Subject:   Re: disk partitions
Message-ID:  <14331.26089.359827.108306@bld11.IRO.UMontreal.CA>
References:  <199910052325.QAA01404@chad.anasazi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Big Brother told Chad R. Larson to write, at 16:25 of October 5:
> Is there some rule that says there can only be one FreeBSD partition
> on a disk drive?

I don't think so.

I run FBSD-3.3RC on my drive (and ran it this way since 3.1R) with 3
main partition (that we call slices in FBSD, if I'm not mistaken):

1: FAT32 (win 98)
2: FBSD (/ /var /usr ...)
3: FBSD (/home)

My kernel is on 2: and I boot by there. Without any problems.

I use the OS-BS boot selector though.
 
> Here's the story.  This machine on which I type is a 166 MHz
> Pentium, with 32 MB of RAM and an Adaptec on-the-motherboard SCSI
> controller.  Its single hard drive is a 4GB Segate.  The boot dmesg
> output is attached if you want further details.  It's running
> FreeBSD 2.2-STABLE, CVSup'd and built in July.
> 
> It has been set up to dual-boot NT workstation and FreeBSD.  But the
> dual booting proved to be too much hassle, so I obtained a second
> machine, loaded Win95 on it and left this one in BSD.  Lately, I've
> been getting short on disk space in the BSD world (doesn't
> everyone?) and decided to poach some of the NT space.

Ok.. So the machine isn't dual-booting anymore, right? Then why not
make a backup and dedicate the drive to BSD?
 
> The disk had been set with FDISK partitions like this:
> 
>     1 500MB  type 6 dos  (FAT, NT C: drive)
>     2 1.5GB  type 5 dos  (NTFS, NT D: drive)
>     3 2.0GB  type 165  FreeBSD
>     4 unused
> 
> I ran "fdisk -2 -u sd0", and changed the partition type from 5 to
> 165.  When I attempted to reboot, BootEazy offered me
> 
>     F1 dos
>     F2 BSD
>     F3 BSD
> 
> but F3 refuses to boot.  When I hit F3, or allow the timeout to take
> that as a default, the cursor moves down one line and to the left
> margin and then the machine hangs.  I can CTL-ALT-DEL back around to
> the BootEazy prompt.  F2 also does not boot (I didn't expect it to,
> but wondered if the partitions got reordered somehow in BootEazy's
> mind).  F1 =does= boot NT.

This is strange. Have you tried to revert things as they were before?
 
> If I boot the 2.2.8-RELEASE live filesystem CD, and drop into fixit
> mode, I can set the type on partition 2 to 0, and I can boot again.
> Partition 2 disappears from the BootEazy menu.

As I said earlier, maybe you should try OS-BS. It's available in the
'tools' directory (if I remember correctly) of the ftp archive.

With it, you can select which OS (slice, in fact) to show on boot, and
which not. 
 
> If we get past this, then I'll be asking why disklabel doesn't seem
> willing to work against sd0s2c.

It would help to see the output of fdisk and disklabel for the
apropriate disks.

'hope that helps...

ants.
 
[snipped dmesg output]

-- 
Si l'image donne l'illusion de savoir
C'est que l'adage pretend que pour croire,
L'important ne serait que de voir

Lofofora


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14331.26089.359827.108306>