Need to boot from CD and delete a file on the hard drive

2005-10-25 Thread Maude User
Hello All --
 
SUMMARY: 
I changed a configuration file and now I can no longer boot from my hard drive 
(but I can still 
 boot from the CD). I would like to boot from the CD and undo my change to the 
configuration 
file -- but when I boot from the CD it automatically launches the install 
program. Is there a way
 to boot from the boot CD and get a shell and make a change to a file on the 
hard drive? (I got 
an emergency shell after booting from the CD -- but I can't figure out how to 
access my hard 
drive filesystem from it.)

DETAILS:
I was trying to set up a serial console using the instructions here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
 
I typed the following at the prompt:
 
# echo 'console=comconsole'  /boot/loader.conf
 
then unplugged my regular keyboard and tried to reboot -- but the machine now 
freezes on 
bootup.
 
I now want to boot from a CD and remove the file /boot/loader.conf from the 
hard drive. Then I 
should be able to boot normally again from the hard drive.
 
I went into the BIOS and booted from the CD and this put me in the install 
program. I don't 
want to install everything again -- I just want to boot up from the CD and 
execute the following 
command at the prompt:
 
# rm /boot/loader.conf
 
After booting from the CD, I found a command in the install program to enter an 
emergency 
shell and accessed this shell by hitting ALT-F4 -- but if I do an rm command 
in this 
emergency shell, it doesn't apply to the filesystem on the hard drive -- it 
applies to the CD. I 
need to delete the file /boot/loader.conf while booting from the CD.
 
Is there any way to fix this without installing FreeBSD all over again?
 
Thanks.
 
Scott Alexander
 
 
 
 


-
 Yahoo! FareChase - Search multiple travel sites in one click.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need to boot from CD and delete a file on the hard drive

2005-10-25 Thread Maude User
Micah wrote:
 The option you are looking for is fixit from the install disk menu. 
 This'll get you a command prompt.  You will have to manually mount the 
 partion that boot is on then you can delete, rename, edit, etc the file 
 in question. 

 

===
 
Micah -- Thank you for your answer -- sounds like it should work!
I found a website which gives some more detail:
http://www.freebsd-corp-net-guide.com/technotes/fixit.html
- Scott Alexander
 



 




-
 Yahoo! FareChase - Search multiple travel sites in one click.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up a home network with FreeBSD (not connected to the Internet yet)

2005-08-29 Thread Maude User
Hello All -

I have a 1U rackmount server (running FreeBSD 5.4)
and a laptop (dual-boot running WinXP-Pro and
FreeBSD 5.3) and I'd like to connect the two in a
home network (not connected to the Internet) so I
can learn web development using Apache, PHP,
Python, Plone, Ruby, MySQL, PostgreSQL etc. 

Later I'll co-locate the server in a datacenter. I'd
like the home network setup to be similar to the
eventual co-lo setup so that it would provide a
realistic environment for learning and testing,
with minimal changes once I migrate the server
from my home to co-lo.

The server has two 1000Base-T, 100Base-TX and
10Base-T Ethernet LAN RJ45 ports (Intel 82541GI
and 82547GI controllers), supporting TCP, UPD, IPv4.

For the time being, the only client connecting to
this server will be the laptop. I don't have
broadband at home, so neither the server nor the
laptop will be connected to the Internet. There's a
cybercafe in the neighborhood with broadband where
I can download files, lookup documentation and
burn CDs.

I was able to borrow someone's keyboard and
monitor to install FreeBSD onto the server - but
after HTTP and FTP and NFS are set up I was hoping
I could return the keyboard and monitor and be
able to install and configure any additional
packages using the laptop as the console. The
laptop has an internal CD-RW. The server has a USB
CD-RW - but no monitor or keyboard.

Is this just a simple intranet I'm setting up here?
Can anyone point me to documentation that would
answer the following types of questions:

- What sort of cables should I get?

- Since the server won't be connected to the
Internet for now, can I pick any old IP address,
host name and domain name?

- Once the network is set up, can I use something
like SSH or Webmin from the laptop to install and
configure packages on the server, without
attaching a keyboard and monitor?

- What security should I be setting up NOW, so that
the server will be secure once it goes co-lo?

Thanks for any help.

Scott in Brooklyn






Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User

Hello --

I recently installed FreeBSD 5.3 on my laptop and now I want to install it
onto a rackmount server (hardware specs below).

I hate to ask a silly question but here goes: Do I need to get a USB CD-ROM
drive (and keyboard and monitor) for the server in order to install FreeBSD...
or is there some way I can install onto the rackmount server from the laptop?
(There's no CD-ROM on the rackmount server, but the laptop has a CD-RW/DVD+-RW.)

The rackmount server consists of the following:

 Motherboard: Tyan GS12 single-processor 1U rackmount barebones server with:
-- ICH-5R  Intel 875P chipsets (I understand FreeBSD 5.x is ok with these)
-- Supports Intel P4 processor 800/533 MHz FSB
-- Supports up to 2 IDE HDD devices (Serial ATA and Ultra ATA/100 connectors)
-- Supports RAID 0, 1
-- Integrated LAN controller (Intel 82547GI CSA  82541GI PCI 10/100/1000 GbE 
LAN
controllers) with two RJ-45 LAN connectors
-- One 32-bit/33 MHz PCI v2.3 slot
-- Four USB 2.0 ports
-- Phoenix BIOS on 4Mb Flash ROM; UCR and PXE (LAN remote boot); 
SM BIOS 2.3.1 (backward compatible w/ DMI 2.0)
--- Programmable 2-line LCD display with drivers for FreeBSD

 Processor: Intel Northwood 2.8GHz 533MHz FSB Socket 478 Pentium 4
(no hyperthreading)

 Memory: 2 x Micron 1024MB DDR400 ECC Registered PC3200 400MHz 184pin RAM

 Hard drives: 2 x Western Digital 250GB Serial ATA hard drives

Here's some further info about this Tyan motherboard:
http://www.tyan.com/products/html/gs12b5103_spec.html
ftp://ftp.tyan.com/manuals/m_gs12b5103_100.pdf
http://www.dansdata.com/ttransport.htm

Thanks for any help.

-- Steve
Brooklyn, NYC


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
Thank you for your quick answer! In the link you sent, there is a chapter about 
doing a headless install -- and my rackmount server is certainly headless.
 
My laptop is so new it doesn't appear to have a serial port, but I think I can 
get a USB-to-serial adapter for connecting the null modem cable.
 
I am very impressed with the flexibility of FreeBSD.
 
Per olof Ljungmark ... wrote:


Start here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

You can do it in many ways. Good luck and welcome.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
I didn't realize it would be slow using a null-cable modem - thanks for that 
info.
 
I guess I should borrow a monitor and keyboard to do the install faster.


Nikolas Britton [EMAIL PROTECTED] wrote:
On 8/11/05, Maude User wrote:
 Thank you for your quick answer! In the link you sent, there is a chapter 
 about doing a headless install -- and my rackmount server is certainly 
 headless.
 
 My laptop is so new it doesn't appear to have a serial port, but I think I 
 can get a USB-to-serial adapter for connecting the null modem cable.
 

I'd not do the serial connection thing for two reasons:
1. more then likely you'll have to buy a null modem cable and
USB-to-serial adapter.
2. It will be very slow, think 56K modem...

Based on what I've read about your system it doesn't have console
redirection so at some point in time you will need to put a monitor
and keyboard on this system to setup the RAID (you bought two drives)
and the BIOS before you can install FreeBSD, yes? I find it hard to
believe you don't have access to an old monitor and kb for an hour to
install FreeBSD. If you can get the monitor and kb do a network
install from the boot floppies, you do have a floppy drive installed
yes? if you don't find one or an old CD-ROM drive and crack the case,
no? You could try bootp or a USB thumb/flash drive thingy (dd
if=floppy.img of=/dev/da0 bs=foo). Their are better ways to waste ones
time then to try a laplink serial install.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread Maude User
Hello -
 
I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA 
hard drives 
(it came with no CD or floppy). I will borrow a keyboard and monitor because I 
was informed
today on this list that a headless install from my laptop over a null-modem 
cable would slow.
 
I was going to buy a cheap USB floppy drive today (I saw prices from $30 to 
$50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
(Panasonic DVRS706) so I got that instead, figuring it was more bang for the 
buck. 
 
Can I install FreeBSD 5.3 from this USB CD drive? 

If not, what sort of CD drive can I install from?
 
Thanks.
 
- Steve
Brooklyn NYC


-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [nycbug-talk] Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread Maude User
Thanks for this info. 
 
The handbook chapter on BIOS (see below) doesn't mention USB but it says the 
machine 
can boot from Removable Devices so it sounds like your first suggestion about 
booting from 
removable drives would work. 
 
It also says something about PXE so it looks like your second suggestion would 
also work.
 
Thanks,
-- Steve
 
PS - More detail below about this server's specs (link below) -- it's a Tyan 
GS12 motherboard:
 
-- Integrated LAN controller (Intel 82547GI CSA  82541GI PCI 10/100/1000 GbE 
LAN controllers) with two RJ-45 LAN connectors
-- Supports Intel P4 processor 800/533 MHz FSB
-- Supports up to 2 IDE HDD devices (Serial ATA and Ultra ATA/100 connectors)
-- Supports RAID 0, 1
-- One 32-bit/33 MHz PCI v2.3 slot
-- Four USB 2.0 ports
-- Phoenix BIOS on 4Mb Flash ROM; UCR and PXE (LAN remote boot); SM BIOS
2.3.1 (backward compatible w/ DMI 2.0)

http://www.tyan.com/products/html/gs12b5103_spec.html

In the handbook (link to PDF below), the BIOS chapter says:
 
 The Boot Menu allows you to set the priority of the booting devices:
  - Removable Devices
  - Hard Drive
  - CD-ROM
  - IBA GE Slot 0208 v1216 (LAN Intel 82547GI)
 
ftp://ftp.tyan.com/manuals/m_gs12b5103_100.pdf

Jim Brown [EMAIL PROTECTED] wrote:
* Maude User [2005-08-11 20:15]:
 Hello -
 
 I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA 
 hard drives 
 (it came with no CD or floppy). I will borrow a keyboard and monitor because 
 I was informed
 today on this list that a headless install from my laptop over a null-modem 
 cable would slow.
 
 I was going to buy a cheap USB floppy drive today (I saw prices from $30 to 
 $50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
 (Panasonic DVRS706) so I got that instead, figuring it was more bang for the 
 buck. 
 
 Can I install FreeBSD 5.3 from this USB CD drive? 
 
 If not, what sort of CD drive can I install from?


While I don't know the specfic equipment in your question, the general response
is that it is the BIOS that determines 'bootability' i.e. whether a device
can be used as a boot device. Check the BIOS setting first, there may
be a setting for booting from USB. If not, try 'removable drives' if it is 
shown.

If that fails, you might be able to boot from a network device using PXE 
booting.
Check the handbook (and your BIOS documentation) regarding PXE boot support.

If all that fails, try removing the hard disk and placing it in another 
compatible
system which has a bootable CD ROM.

And if *that* fails, post again. I'll be really interested to hear your curs^w 
comments.

Best Regards,
Jim B.



-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
It never even occurred to me that you could try using a USB flash drive to 
install from -- that
would be a very interesting approach.
 
Not sure how much a USB flash drive would cost, but I got a Panasonic 
USB2.0/Firewire CD-RW/DVD+/-RW (DVRS706) for $99 at jandr.com, so that should 
be good to boot from
and will come in handy later for other things, and I can always have a boot CD 
as a backup.
 
- Steve in Brooklyn

Nikolas Britton [EMAIL PROTECTED] wrote:
On 8/11/05, Maude User wrote:
 I didn't realize it would be slow using a null-cable modem - thanks for that 
 info.
 
 I guess I should borrow a monitor and keyboard to do the install faster.
 
 

I'm personally liking the usb flash drive thingy idea I mentioned
earlier if you have no floppy or cd-rom drives. Not sure if this will
even work btw, never tried it.

What you would do is download the the 20MB bootonly.iso CD-ROM image
and mound it (this step my not be needed) with mdconfig:
mdconfig -a -t vnode -f 5.4-RELEASE-i386-bootonly.iso -u 0
Use mount_cd9660 /dev/md0 /mnt and you can change the config files
on the fake cd for console redirection to serial port, 'echo
/boot/loader -h  boot.config', etc.

Next you would dd the image onto the usb flash drive:
dd if=/dev/md0 of=/dev/da0 bs=1M

Now remove the usb flash drive from your laptop and plug it into the
server, tell the server to boot from the usb flash drive, the
filesystem on the flash drive would be cd9660 and hopefully boot like
a normal CD-ROM. If your flash drive was big enough you could load the
entier disc1.iso cd onto it, what happened to the miniinst.iso that
was only 270MB? I guess you could strip all the packages off the
disc1.iso to make a miniinst.iso disk?

What do you guys think, would this method work? the only hang up's I
can think of is making your usb flash drive think it's a CD-ROM and if
the FreeBSD install discs will work when it thinks its a hard drive,
da0 for usb storage I'll have to try it tomarrow

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions using PartitionMagic for dual-boot with WinXP-Pro

2005-03-29 Thread Maude User
Jerry -
 
Thank you for your email - that pretty much cleared everything up.
 
I am quite definitely installing FreeBSD (5.3) - not Linux - sorry about the 
many misleading mentions of Linux. Those crept in because many of the tips I 
had googled seemed to mention Linux utilities (such as boot managers) in the 
same breath as FreeBSD-specific things, making me think that whenever the tools 
I was using (such as PartitionMagic) didn't mention FreeBSD, I should just pick 
the closest generic Linux thing and it would work.
 
I think I'm clear now on the following:
 
(1) I give the new FreeBSD slice any old file system - FreeBSD will overwrite 
it (with FFS I assume?).
 
(2) The dreaded 1024-cylinder limit is a thing of the past, due to BIOS LBA. 
And even though BIOS LBA still has an 8GB limit, that's not a problem as long 
as my first slice is DOS (which it is) because it will actually start at 
Cylinder 0, Head 1, Sector 1, leaving space for FreeBSD's boot manager (or 
MBR?).
 
I have read chapter 2 of the handbook several times, as well as another 
document on freebsd.org about installing multiple OSes, but there are 2 issues 
which I don't think are made clear enough for newbies in the docs: (1) The docs 
should emphasize (as you did) that it doesn't matter what file system you set 
for FreeBSD's slice - FreeBSD will overwrite it anyays. (2) Several frightening 
warnings are given, saying that a slice needs to be within the 1024 cylinder 
limit in order to be bootable. These warnings are obsolete because of BIOS LBA 
and because of the free space available if the first slice is for DOS.
 
Your email cleared up both these issues.
 
Thanks,
Stefan
 
 

Jerry McAllister [EMAIL PROTECTED] wrote:
 
 
 Hi -
 
 I need help partitioning a laptop (using PartitionMagic) which already 
 has WinXP-Pro on it, so it can dual-boot FreeBSD. 

I kind of wonder why you are asking on this (FreeBSD questions) list.
I don't see any FreeBSD installation in the plan you outline.

 
 SUMMARY
 ===
 I'm thinking of doing the following layout (things I'm unsure about are 
 in brackets [...]):
 
 - boot (Z:) - FAT [or FAT32?]- 2MB [less/more?] - primary - install Easy 
 Boot [or LILO?] here
 - winxp (C:) - NTFS - 20GB - primary (I will move/resize this existing 
 partition, using PMagic)
 - winxp2 (X:) - FAT [or FAT32, NTFS?] - 15GB - logical [or primary?]
 - linux - ext2 - 24GB - primary
 - swap - ext2 [or FAT, FAT32?] - 1MB - logical [or primary?]
 
 but I'm unsure about a lot of these parameters and I'm afraid of making the 
 computer unbootable! The above layout sums up my questions - same questions 
 in more detail below:
 
 DETAILS
 ===
 Specs: Compaq v3125us, Windows XP Professional (with Service Pack 2), 60GB 
 hard disk, 512MB RAM, and NO floppy drive. (Also: Pioneer DVR-K14 Slimline 
 (DVD+/-RW, CD-RW), Intel Extreme Graphics 2 video chipset, ACPI power 
 management.) I have PartitionMagic 8.0. 
 
 (Note: In the questions below, I use the word partition because that's 
 what PartitionMagic uses. I understand that in FreeBSD this is called 
 a slice.)

Yes, FreeBSD recognizes the four primary divisions and calls them slices.
Withing each slice, it can be divides in to up to 8 partitions.

 
 (1) PartitionMagic says that if an OS partition starts after 
 the boot boundary, that OS won't be bootable. It says I have boot 
 boundaries at 2GB, and at 1024 cylinders. 

Most modern BIOS and boot loaders no longer have that problem. An older
BIOS still might, but it is basically an obsolete thing.

 Does this mean I should create a small partition BEFORE my WinXP partition, 
to put Boot Easy or LILO there? (Apparently PartitionMagic has a command 
 to MOVE an existing partition - so it looks like I can just move the 
 existing WinXP partition slightly to open up some space in front of it.)

I have never tried moving anything to a higher address and squeezing
anything in before it. Shrinking and putting in a major division above
has worked well. I don't think you have to put in a slice for those
MBR utilities. They use sector 0 and extra unused space.

 
 If I do need to create a boot partition:
 
 ...(a) How big should it be?
 
 ...(b) What file system should it be - FAT, FAT32, ext2 or ext3?
 
 ...(c) Should it be a primary partition, or logical (extended)?
 
 Anybody have a preference on using LILO versus Boot Easy?
 
 Will there be a screen during the regular FreeBSD install that lets me 
 install Boot Easy or LILO?

Where do you intend to put FreeBSD? It doesn't supply Lilo or
Boot Easy. Those are either Linux or third party things, not related
to FreeBSD. 
 
 (2) Should the file system for my Linux partition be ext2 or ext3?
 
 (3) Do I need a Linux swap partition? If so:
 
 ...(a) How big should the Linux swap partition be? (I heard it should be 
 twice the size of my RAM. I have 512MB, so should my Linux swap partition 
 be 1024MB?)

Again, why would you ask about Linux swap on a FreeBSD list?
I know some people 

Dual-boot WinXP: FreeBSD slice within 8GB? Space for EasyBoot?

2005-03-28 Thread Maude User
Hello -
 
I'm going to install FreeBSD to make a dual-boot laptop (keeping WinXP-Pro). It 
has 60GB on a single hard drive, currently one big NTFS partition (C:) - 
which I will shrink down to about 16GB with PartitionMagic, leaving a new 
generic FAT or FAT32 slice which FreeBSD will overwrite. 
 
I have 2 questions:
 
(1) Does the FreeBSD slice have to start before 8GB to be bootable?
 
(2) Is there free space before the WinXP slice already for EasyBoot?
 
Thanks.
 
- Stefan
 
 
 
Further details below:
 
(1) Does the FreeBSD slice have to start before 8GB to be bootable?
===
This is a new machine, so I assume I have BIOS LBA, which got rid of the 
dreaded 1024 cylinder limit. But the link below (very optimistic, but talking 
about hard drive with only 1.6GB, way less than 8GB) implies that even with 
BIOS LBA, my FreeBSD slice still needs to start before 8GB:
 
http://geodsoft.com/howto/dualboot/With BIOS LBA, the hard disk size 
limitation is virtually removed (well, pushed up to 8 Gigabytes anyway). If you 
have an LBA BIOS, you can put FreeBSD or any OS anywhere you want and not hit 
the 1024 cylinder limit.
 
I know people say that FreeBSD can boot from anywhere - but even if its slice 
starts way out around 20GB??
 
 
(2) Is there free space before the WinXP slice already for EasyBoot?


 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/x191.html
Some operating systems (FreeBSD included) let you start their partitions right 
after the Master Boot Sector at Cylinder 0, Head 0, Sector 2 if you want. ... 
Then when you go to install your boot manager, if it is one that occupies a few 
extra sectors after the MBR, it will overwrite the front of the first 
partition's data. In the case of FreeBSD, this overwrites the disk label, and 
renders your FreeBSD partition unbootable.
The easy way to avoid this problem (and leave yourself the flexibility to try 
different boot managers later) is just to always leave the first full track on 
your disk unallocated when you partition your disk. That is, leave the space 
from Cylinder 0, Head 0, Sector 2 through Cylinder 0, Head 0, Sector 63 
unallocated, and start your first partition at Cylinder 0, Head 1, Sector 1. 
For what it is worth, when you create a DOS partition at the front of your 
disk, DOS leaves this space open by default (this is why some boot managers 
assume it is free). So creating a DOS partition up at the front of your disk 
avoids this problem altogether. I like to do this myself, creating 1 Meg DOS 
partition up front, because it also avoids my primary DOS drive letters 
shifting later when I repartition.

As my laptop already has a DOS (WinXP-NTFS) slice at the beginning of the hard 
drive, can I just shrink this slice down to about 20GB, install FreeBSD on the 
slice after that, install EasyBoot, and assume that EasyBoot will be tucked 
into that sliver of free space before Cylinder 0, Head 1, Sector 1?

Thanks,
Stefan
 
 



-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions using PartitionMagic for dual-boot with WinXP-Pro

2005-03-27 Thread Maude User

Hi -

I need help partitioning a laptop (using PartitionMagic) which already has 
WinXP-Pro on it, so it can dual-boot FreeBSD. 

SUMMARY
===
I'm thinking of doing the following layout (things I'm unsure about are in 
brackets [...]):

- boot (Z:) - FAT [or FAT32?]- 2MB [less/more?] - primary - install Easy Boot 
[or LILO?] here
- winxp (C:) - NTFS - 20GB - primary (I will move/resize this existing 
partition, using PMagic)
- winxp2 (X:) - FAT [or FAT32, NTFS?] - 15GB - logical [or primary?]
- linux - ext2 - 24GB - primary
- swap - ext2 [or FAT, FAT32?] - 1MB - logical [or primary?]

but I'm unsure about a lot of these parameters and I'm afraid of making the 
computer unbootable! The above layout sums up my questions - same questions in 
more detail below:

DETAILS
===
Specs: Compaq v3125us, Windows XP Professional (with Service Pack 2), 60GB hard 
disk, 512MB RAM, and NO floppy drive. (Also: Pioneer DVR-K14 Slimline 
(DVD+/-RW, CD-RW), Intel Extreme Graphics 2 video chipset, ACPI power 
management.) I have PartitionMagic 8.0. 

(Note: In the questions below, I use the word partition because that's what 
PartitionMagic uses. I understand that in FreeBSD this is called a slice.)

(1) PartitionMagic says that if an OS partition starts after the boot 
boundary, that OS won't be bootable. It says I have boot boundaries at 2GB, 
and at 1024 cylinders. 

Does this mean I should create a small partition BEFORE my WinXP partition, to 
put Boot Easy or LILO there? (Apparently PartitionMagic has a command to MOVE 
an existing partition - so it looks like I can just move the existing WinXP 
partition slightly to open up some space in front of it.)

If I do need to create a boot partition:

...(a) How big should it be?

...(b) What file system should it be - FAT, FAT32, ext2 or ext3?

...(c) Should it be a primary partition, or logical (extended)?

Anybody have a preference on using LILO versus Boot Easy?

Will there be a screen during the regular FreeBSD install that lets me install 
Boot Easy or LILO?

(2) Should the file system for my Linux partition be ext2 or ext3?

(3) Do I need a Linux swap partition? If so:

...(a) How big should the Linux swap partition be? (I heard it should be twice 
the size of my RAM. I have 512MB, so should my Linux swap partition be 1024MB?)

...(b) Should the Linux swap partition be FAT, FAT32, ext2 or ext3?

...(c) Should the Linux swap partition be a primary partition - or logical 
(extended)?

(4) It would be nice (but not required) to create a second logical partition at 
this time for WinXP (a second logical drive, say X:), so I could keep my WinXP 
user or data file separate there. If I have a boot partition, a main WinXP 
partition, a Linux partition, and a Linux swap partition, then that makes 4 
partitions. Is that the maximum (meaning I couldn't add a second WinXP 
partition)? 

If I make a second logical partition for WinXP, does it have to be NTFS? I 
heard that it could also be FAT or FAT32, and that way any OS could access it?

(5) I would like to be able to see DOS files from FreeBSD. Is there anything I 
have to do at partition time to make this possible?

(6) I'm confused about the whole MaxCapacity = (sector size) x (sectors per 
track) x (cylinders) x (heads) thing. Do I need to set sector size, sectors 
per track, cylinders and heads when I make a new partition? (I don't even seen 
much mention of cylinders, heads and sectors in PartitionMagic.)

(7) (Off-topic:) I heard that FreeBSD is not compatible with ACPI power 
management. When and how do I disable this?

Thanks for any help!

Stefan Scott


-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]