Re: Re: WinXP and FreeBSD configuration problems

2005-08-05 Thread dmwassman
> 
> From: "Ryan Sommers" <[EMAIL PROTECTED]>
> Date: 2005/08/05 Fri PM 01:38:12 EDT
> To: [EMAIL PROTECTED]
> CC: freebsd-questions@freebsd.org, 
>  freebsd-hackers@freebsd.org
> Subject: Re: WinXP and FreeBSD configuration problems
> 
> [EMAIL PROTECTED] said:
> > ad0s0   NTFS2G  #Windows Boot
> > ad0s1   FreeBSD 2G  #FreeBSD Boot/Swap
> > ad0s3   FAT 20G #Windows
> > ad0s4   FreeBSD 298G#FreeBSD
> >
> 
> ... extra stuff eliminated ...
> 
> Why the miniscule 2gb partitions? Honestly, they are pointless. Second,
> worrying about the performance of boot and swap on a computer with a 320GB
> harddrive? Again pointless. If you are worried about the performance of
> your swap space I would rethink running Windows XP because you have way
> too little RAM. Third, why are you making seperate partitions for boot and
> swap anyway?
> 
> From here on out I'm going to revert to the BSD style where you say
> partition I will now call it a slice.
> 
> FreeBSD can reside on a single slice. The BSD disklabel'er divides the
> FreeBSD slice into partitions, for things like swap, and file-systems.
> 
> My recommendations to you are as follows:
> 
> 1) Don't worry about where things are on the disk. You're complicating the
> hell out of everything and in the end you probably won't notice a
> difference. If you're that worried about performance invest in multiple
> SCSI disks and create multiple RAID arrays optimized for performance.
> 
> 2) Don't worry about making seperate slices (the things you can only make
> 4 of).
> 
> 3) Make a single slice for Windows and install it there. It's good to make
> it the first slice on the disk, but not necessary. Then install FreeBSD to
> another slice. Let FreeBSD overwrite the MBR with the standard boot
> manager.
> 
> This has worked countless times for me. I've always dual booted my laptops
> with FreeBSD and a Windows OS.
> 
> Just me .02. If you'd like feel free to contact me personally and I'd be
> glad to help you get started.
> 
> -- 
> Ryan Sommers
> [EMAIL PROTECTED]
> 
Ryan,

Yeah, I have done exactly what you have suggested several times myself without 
a problem. I not having problems installing a dual boot system. It was the 
different config. About the 320GB HD, I don't see it as completely pointless as 
I am going to use it as a desktop and would like to squeeze as much performance 
that I can out of it. The key is not to spend any money on it and still get it 
to work a little faster, so buying a SCSI RAID, although nice, is not really 
what I had in mind. Why do you?

The miniscule slices (yes, I know unix/linux calls them slices which are 
divided up into partitions ie ad0 is the drive, ad0s1 is the first slice and 
ad0s1a is the first partition on that slice) is because I am just trying it out 
and didn't want to wait forever for windows to format a 100GB hd to have it 
fail on me later. I am not decided yet on the final config but I am supposing 
Windows will have at least 100GB (again performance). 

And how do I have way to little RAM? I have 1G RDRAM. How much do you need to 
run XP?

Thanks for the advice, I am really just messing around to see what I can do and 
what I can't.

David


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


Re: WinXP and FreeBSD configuration problems

2005-08-05 Thread Ryan Sommers
[EMAIL PROTECTED] said:
> ad0s0 NTFS2G  #Windows Boot
> ad0s1 FreeBSD 2G  #FreeBSD Boot/Swap
> ad0s3 FAT 20G #Windows
> ad0s4 FreeBSD 298G#FreeBSD
>

... extra stuff eliminated ...

Why the miniscule 2gb partitions? Honestly, they are pointless. Second,
worrying about the performance of boot and swap on a computer with a 320GB
harddrive? Again pointless. If you are worried about the performance of
your swap space I would rethink running Windows XP because you have way
too little RAM. Third, why are you making seperate partitions for boot and
swap anyway?

>From here on out I'm going to revert to the BSD style where you say
partition I will now call it a slice.

FreeBSD can reside on a single slice. The BSD disklabel'er divides the
FreeBSD slice into partitions, for things like swap, and file-systems.

My recommendations to you are as follows:

1) Don't worry about where things are on the disk. You're complicating the
hell out of everything and in the end you probably won't notice a
difference. If you're that worried about performance invest in multiple
SCSI disks and create multiple RAID arrays optimized for performance.

2) Don't worry about making seperate slices (the things you can only make
4 of).

3) Make a single slice for Windows and install it there. It's good to make
it the first slice on the disk, but not necessary. Then install FreeBSD to
another slice. Let FreeBSD overwrite the MBR with the standard boot
manager.

This has worked countless times for me. I've always dual booted my laptops
with FreeBSD and a Windows OS.

Just me .02. If you'd like feel free to contact me personally and I'd be
glad to help you get started.

-- 
Ryan Sommers
[EMAIL PROTECTED]

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


Re: WinXP and FreeBSD configuration problems

2005-08-05 Thread Andreas Kohn
On Thu, 2005-08-04 at 22:44 -0400, [EMAIL PROTECTED] wrote:
> Hello all,
> 
> OK it is now day three and I have given up. This will be a long 
> one just to warn you now. 
> 
[...]
> First, I tried to install windows on the first 2G partition then 
> tried to install freebsd as follows 
> ad0s0 NTFS2G  #Windows Boot
> ad0s1 FreeBSD 2G  #FreeBSD Boot/Swap
> ad0s3 FAT 20G #Windows
> ad0s4 FreeBSD 298G#FreeBSD
> 
> Now when I finished installing WinXP I could boot with no problems 
> but after installing FreeBSD, I get a BSOD when trying to boot WinXP. 
> I looked thru google, FreeBSD, and Microsoft for a possible answer. 
> No. Everyone seems to just put all of WinXP on the first partition 
> and then FreeBSD or Linux. I think thats fine for a 20, 30 or even 
> 80 GiB HD but I think there will be a performance issue with the 
> boot and swap so deep on the HD.

Hi,

I would say this is a Windows problem. Old Windows certainly had the 
habit of only reading the partition table up to the first non-windows
partition. 
Looks like WinXP still does the same.

But as your only reason for trying for days to get this to work is
a possible performance loss, you may perhaps want to try to measure this
loss and see if it warrants days of work against Windows.

Best regards,
--
Andreas

-- 
 was macht man eigentlich auf einer linux-gamer lan ? hl server
aufsetzen und freuen ? *duck* ^^


signature.asc
Description: This is a digitally signed message part


Re: WinXP and FreeBSD configuration problems

2005-08-05 Thread Glenn Dawson

At 07:44 PM 8/4/2005, [EMAIL PROTECTED] wrote:

Hello all,

OK it is now day three and I have given up. This will be a long one just 
to warn you now.


I have a 320 GiB HD and a 5 GiB HD. The 320 is faster than the 5 (yes, it 
is that old). I want to dual boot WinXP and FreeBSD. The main issue is 
that I don't want to put the FreeBSD buried behind 100G FAT partition as I 
would like to have the swap closer to the edge of the HD. I use the 5 G to 
transfer files and such, especially when changing the OS on a partition. I 
prefer not to use it a a boot as it is only 5400 and I would have to put 
the CDROM on either it as prime boot and slow it more or on the 320 and 
slow it down. This seems like a simple problem but it has not turned out 
that way.


First, I tried to install windows on the first 2G partition then tried to 
install freebsd as follows

ad0s0   NTFS2G  #Windows Boot
ad0s1   FreeBSD 2G  #FreeBSD Boot/Swap
ad0s3   FAT 20G #Windows
ad0s4   FreeBSD 298G#FreeBSD


I just duplicated this layout without any problems.  The sizes of each 
partition are a little different, but ultimately that shouldn't matter.


What I tested was:

ad4s1   NTFS10G
ad4s2   FreeBSD 10G
ad4s3   NTFS30G
ad4s4   FreeBSD 133G

The procedure I used to install was this:

WinXP install, created first partition (ad4s1) and installed with default 
settings.


FreeBSD install (5.4-RELEASE), created second partition (ad4s2) and chose 
FreeBSD bootloader and default file system layout.


Rebooted back in to xp, created third partition (ad4sd3), formatted with ntfs.

Rebooted into FreeBSD, created 4th partition (ad4s4), labeled it (bsdlabel 
-r -w /dev/ad4s4), newfs /dev/ad4s4a, and mounted it as /home.


Resulting FreeBSD filesystems:

Filesystem  1K-blocks   Used Avail Capacity  Mounted on
/dev/ad4s2a253678  3573819764615%/
devfs   1  1 0   100%/dev
/dev/ad4s2e253678 14233370 0%/tmp
/dev/ad4s2f   8398450 983574   674300013%/usr
/dev/ad4s2d253678500232884 0%/var
/dev/ad4s4a 139156898 22 128024326 0%/home

Resulting XP filesystems:

C:  10GB
D:  cdrom drive
E:  30GB

Slices as seen by FreeBSD fdisk:

The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 20964762 (10236 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 20964825, size 20964825 (10236 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 41929650, size 61432560 (29996 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 103362210, size 287359758 (140312 Meg), flag 0
beg: cyl 141/ head 14/ sector 1;
end: cyl 548/ head 15/ sector 63

Hardware used for testing:

Intel D865PERL motherboard with 3.4GHz P4, 512MB RAM
Seagate 200GB SATA hard disk
Sony DVD-RW drive

-Glenn 


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


Re: WinXP and FreeBSD configuration problems

2005-08-04 Thread Daniel Marsh

On Fri, 05 Aug 2005 10:44:30 +0800, <[EMAIL PROTECTED]> wrote:


Hello all,

OK it is now day three and I have given up. This will be a long one just  
to warn you now.


I have a 320 GiB HD and a 5 GiB HD. The 320 is faster than the 5 (yes,  
it is that old). I want to dual boot WinXP and FreeBSD. The main issue  
is that I don't want to put the FreeBSD buried behind 100G FAT partition  
as I would like to have the swap closer to the edge of the HD. I use the  
5 G to transfer files and such, especially when changing the OS on a  
partition. I prefer not to use it a a boot as it is only 5400 and I  
would have to put the CDROM on either it as prime boot and slow it more  
or on the 320 and slow it down. This seems like a simple problem but it  
has not turned out that way.


First, I tried to install windows on the first 2G partition then tried  
to install freebsd as follows

ad0s0   NTFS2G  #Windows Boot
ad0s1   FreeBSD 2G  #FreeBSD Boot/Swap
ad0s3   FAT 20G #Windows
ad0s4   FreeBSD 298G#FreeBSD



I think one of the problems here would be the fact that you have created  
multiple FreeBSD slices on the same disk.


The layout should be:
ad0s0 - Windows - 2g
ad0s1 - FreeBSD - 290g
ad0s2 - Windows - Leftovers

Once you've partitioned the disk in the FreeBSD install you will then need  
to label it (this is where you set /, /usr, /var, /tmp, and your swap  
partitions)...


Definately don't use dangerously dedicated mode.

Install the FreeBSD boot loader on the ad0s1 slice and install Partition  
Magic on the MBR, or put the FreeBSD boot loader on the MBR (it should  
work and has done for me in the past, make sure Windows doesn't overwrite  
it).


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