PDA

View Full Version : HD install questions....floppy boot and new HD formatting



jamesgf
03-20-2003, 05:19 PM
Hello all and thanks for your help so far!

Just a couple of questions:

Im planning on picking up a new HD to run as a slave on my system for knoppix, about 20-30 gigs in size. Id like to boot from a floppy into linux for now, until i become more familiar with lilo or grub. I need to use XP on my main drive for work, as well as for my wife. I dont want to mess that up. Will i have the option to boot via floppy upon install?

Also, when i add a new drive, do i need to format it or will the install give me the option? How many partitions do you suggest? It will be dedicated for knoppix.

Would it be better for me to install the new drive alone as master, install knoppix, then change it to a slave drive when done?

thanks alot.
-jamie

rickenbacherus
03-20-2003, 08:49 PM
Will i have the option to boot via floppy upon install?

Just don't install LILO to the MBR.


Also, when i add a new drive, do i need to format it or will the install give me the option?

Yes you will have a chance to format the drive with cfdisk a very easy to use partitioning tool. If you've ever used DOS fdisk you'll soon discover that it's almost worthless and you will love cfdisk.


How many partitions do you suggest?

This is a personal preference issue really but I use something similar to this:

100MB-boot partition it's the only partition that needs to be bootable- other partitions can be bootable.

512MB swap

4400MB - root - this needs to be a minimum of 2300MB or Knoppix simply will not install. It can be more and should if you plan on installing alot of software.


Would it be better for me to install the new drive alone as master, install knoppix, then change it to a slave drive when done?

No- it can be done but if you don't know how..........
Linux sees drives thusly:

primary master-hda
primary slave-hdb
secondary master-hdc
secondary slave-hdc

Partitions on any drive are indicated by appending a partition number to the end like so: hda1=1st partition on first hard drive, hdc3=3rd partition on 3rd hard drive, etc.

After you use cfdisk to partition (don't forget to write the partition table)it will ask you which drive to install root to (remember partitions are considered to be 'drives').

Example-you install new 5G hard drive as primary/slave -hdb You partition as follows:
100MB /boot /dev/hdb1
512MB /swap /dev/hdb2
4400MB / /dev/hdb3 (in Linux '/' means 'root')


I need to use XP on my main drive for work, as well as for my wife.

Don't worry she'll come to see the light :D

If you have any more questions just post. gluck

jamesgf
03-20-2003, 09:04 PM
thanks alot! It doesnt sound too hard. Ive built and set up windows computers since DOS 5 and win 3.1....hopefully i can pick this stuff up quickly.

Unfortunately i have to use XP for one program, chemdraw. But its not that often so linux will be my main OS for web surfing, office stuff, etc.

I think once i get the hang of this stuff and set my wife up a user account with all of her word docs and mp3s she will see the light.

One last question: If i only partition 5 gigs out of 20, i can go back in and add more partions later in the unused space correct?

Thanks for your help. It sure is nice to see how helpful everyone is here, putting up with a newbie like myself :)

-jamie

rickenbacherus
03-20-2003, 09:16 PM
One last question: If i only partition 5 gigs out of 20, i can go back in and add more partions later in the unused space correct?

yep

open a term, become root and run cfdisk- How?

su
<give it the password>
cfdisk

RockMumbles
03-20-2003, 09:35 PM
I pretty much agree with rickenbacherus as far as his partitioning, but if you're getting a 20 to 30 GB drive then why not make a /home partition of 5 GB or so , then if you reinstall linux, knoppix or another distro, your home stuff will still be there (you may have to change ownership after a reinstall but everything saved will be there, including customizations). The other thing you may consider is a 5GB or so /store partition that would be formatted vfat (fat32), then you have a safe place to put stuff that you could get to from both linux and windows (note: you'll have to do some fixing to be able to write to the vfat partition as a user). I put mp3's, software downloads, iso's etc. on my shared vfat partition. You do not need a boot partition that is 100 MB (25 to 30 is huge), I have 3 or 4 kernels and grub on this computer and /boot takes up 5.6 MB, although what's 75 mb on a 20 or 30 GB drive, I wouldn't make /boot less than 25MB just in case.

Also put the drive where you want it and then install knoppix there, for safety put lilo on your root partition and make sure to make a boot floppy. If you install knoppix as hda (your first drive) and write a boot floppy etc. you won't be able to boot up as hdb (your second drive) untill you either manually edit your boot floppy configuration or boot into the system from a knoppix cd and fix your system from there.

I am a Chem instructor (labs and developmental) I haven't used ChemDraw in recent years, but once you get knoppix installed check out xdrawchem, it is ChemDraw file compatible and is in a deb package so it's easy to install:
apt-get install xdrawchem
it may not be as feature rich as ChemDraw.
http://users.lewiston.com/linux/xdrawchem.png

I use my own personal linux computer in my office so I don't have to rely on sharing a computer, I use openoffice a lot as it has pretty good ms office compatibility.

HTH

rock

jamesgf
03-21-2003, 02:31 PM
rock-

Thanks for the info! Im picking up a new drive tonight and ill give it a run.

What file system do you recommend? ext3?

-jamie

rickenbacherus
03-21-2003, 03:35 PM
ext3 is my personal preference fragmentation is a thing of the past. But that's just my 2 cents :D

jamesgf
03-24-2003, 02:43 PM
I picked up a 20 gb drive on friday and installed knoppix (debian). The install was easy, partitioning a breeze. The whole install took about 20 minutes. Thanks for your help on all this!

Now to start customizing and updating drivers :)

-jamie

rickenbacherus
03-24-2003, 03:46 PM
I picked up a 20 gb drive on friday and installed knoppix (debian). The install was easy, partitioning a breeze. The whole install took about 20 minutes. Thanks for your help on all this!

Now to start customizing and updating drivers :)

-jamie

schweeet