Jump to content


installing an OS on a partioned drive


  • Please log in to reply
335 replies to this topic

#1 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 04 February 2004 - 02:06 PM

:D  :thumbsup:      New thread, new questions, here is what I would like to accomplish. On my other machine I have hda as a 100gb hard drive that is partioned as follows:35gb for XP 21gb unpartioned for future installs21gb unpartioned for future installs18gb unpartioned for future installsand there is a small amount left over from the XP install. I would like to put the Slack 9.1 on one of the 21gb partions BTW none of the partions are formatted. You gentlemn and ladies have already told me that this is doable. My questions are:1.) To start the install, when I put the disk in the cdrom am I going to be asked where I want to install the OS at.2.) I have been told that in order to get the Slack OS to appear on the "boot" selection menu that I am going to have to do some changes in the liloconfig so that it will be on the list with XP and Mndrk 9.0.     That should do it for now. I will thank all in advance for your help/advice and for putting up with  me. :D  :D
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#2 OFFLINE   tranquilo

tranquilo

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 446 posts

Posted 04 February 2004 - 02:47 PM

Slackware will not automatically partition and format for you... you can use cfdisk or fdisk after booting the install cd to partition as you wish.  It might be wise to write down your partition layout so you are clear about what you are doing... ;)You will need at least / (root) and swap partitions...tranquilo

#3 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 04 February 2004 - 02:48 PM

Hi LonggoneAnother install party . . hurray !! . . We like to party !Your questions:1) Yes it will ask you on what /dev/hda? you want to install Slack ( I think you have all primary partitions there so it would be /dev/hda2 )2) Yes just install Slackware's lilo in the MBR and we will add XP to it after the first boot :DBUT . . I have three little remarks: 1) Your partitions are very large ( generous ) . . . half the size ( or two third ) would do fine . . WQhat if you make another partition of 15GB and resize the 3 x 20 to 3 x 15 ?2) You do need a small /swap partition ( unformatted, but it has to be there ) of about 500MB . . 3) I would start with Mandrake, because that makes resizing and automatically setting up /swap easierB) Bruno

Edited by Bruno, 04 February 2004 - 02:49 PM.


#4 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 04 February 2004 - 03:12 PM

:D  :D Tranquilo,   Uh huh, figured I would have to get another lesson of the disk twins. But the more I practice with them the better I will get.   :thumbsup: Bruno,   I will assume you are correct that they are primary, since they are just partions and not formatted for any type of file system as of yet.   Yes, they is a bit on the hefty side, but since I am not familiar with the procedures involved to go back in and re-size them I gonna leave as is.   There is a small portion on the drive that I can't get to so I assume that is has something to do with the XP install.   The Mandrake 9.0 is on the "B" drive.
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#5 OFFLINE   b2cm

b2cm

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,349 posts

Posted 04 February 2004 - 03:26 PM

How about merging the last 2 partitions as a logical partition, and dividing this into 4 for 4 Linux distros.

#6 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 04 February 2004 - 03:31 PM

LonggoneIf Mandrake is on the hdb . . that means you already have a /swap . . . just go in Mandrake and check what hdb that is and note it down . . also check the names of the hda partitions ( and note them down too ) . . so you won't overwrite the wrong partition with XP on it . . you would not be the first to do so . . . So hava a paper next to you when installing with all the hda and hdb names of the partitions :DB) Bruno

#7 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 04 February 2004 - 03:57 PM

b2cm,     The machine that I will be using has on hda a Windows XP and the 3 unformatted partions and on hdb it has Mndrk 9.0. BTW hdb is 40gb all by itself. Have plans (subject to change) to put Slack and Gentoo (if I can ever get Gentoo up and running) on two of the 3 unformatted partitions. The third will be for ?????Bruno,    Not sure exactly what you are talking about but when I click on the "computer" icon on the desktop and open it up it has the following listed  "C", "D", "E", and "F", so I am going to guess that corresponds to the XP partition and the 3 unformatted remaining partitions. I assume this since when I click on any of those three I get a response that tells me the drives are not formatted and would I like to format them now.    Since there is already a  /swap partition on the hdb, does that mean I will not have to have a /swap for the Slack install that will be on hda, and now for the last little bit, which command is going to give me the info on the hdb partitions.
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#8 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 04 February 2004 - 04:06 PM

Did you partition in Windows?  Otherwise in Mandrake they become hda1, 5, 6, 7.....  Let Linux format them, not windows. :lol:--Julia :D
Teacher
Beach Bum Extraordinaire

#9 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 04 February 2004 - 04:06 PM

Hi LonggoneI assume that you are in Mandrake . . . . open the MCC ( Menu --> Configuration --> Configure your Computer ) --> password --> Mount Points --> Disk Drake . . .and you will get a nice GUI that has two tabs . . one hda, one hdb . . . . there you can see what the partitions are called in Linux terms.About the /swap . . yes Slack on hda will use the /swap on hdb . . will even autodetect it . . just check if it does the autodetecting correctly by checking the hdb? you noted down on the little paper !!Slack won't know about the indications C D E and F . . those are Windows terms. . . . hda1 hda2 hda3 and hda4 are Linux indications ( but it might as well be hda1 hda5 hda6 hda7 ):lol: Bruno

#10 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 04 February 2004 - 04:37 PM

Teacher,    The a drive was partitioned using Windows since that is the only OS on it at the time being.
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#11 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 04 February 2004 - 05:12 PM

Hi LonggoneMaybe let DiskDrake format them Ext3 . . . that way you are sure every distro will find them :D:lol: Bruno

#12 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 05 February 2004 - 12:58 PM

:) Bruno:     Ummmm .... well maybe, could be, how do I do that (DIskDrake), is it going to jump up automatically or no. Anyway here is the  Hard Drive infohda1   ntfs windows xphda5   20gb of nothinghda6   20gb of nothinghda7   17gb of nothinghdb1   5.3gb fs extt3   should be boot sectionhdb5   243mb swaphdb6    home :P
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#13 OFFLINE   rolanaj

rolanaj

    Board Bigwig

  • Forum MVP
  • 2,649 posts

Posted 05 February 2004 - 01:20 PM

mandrake control panel you will be asked for your root password then select mount points -diskdrake it will show you two tabs for your two hard drives and it should show you how they are formatted at present.  It is really easy to partition harddrives in here.
Registered Linux User #554733

#14 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 05 February 2004 - 01:51 PM

Rolana has it right.  It will show a GUI and you will simply click on each partition and then click the format button and select the one you want!  It won't be too hard.--Julia :P
Teacher
Beach Bum Extraordinaire

#15 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 05 February 2004 - 02:02 PM

Longgone:Back to my first step in looking at partitions. "fdisk -l". (that is a lower case L). It will list your partitions and check for errors at the same time.$ su# fdisk -l  /dev/hda# fdisk -l  /dev/hdbFully agree with Bruno's comments about partition sizes. I find 5GB is plenty for single root partitions. The key trick is to keep your data (music, documents, etc) in a partition separate from your OS. That way they can be shared by any OS.One word of warning. If you are using Mandrake to do a lot of partition changes you should reboot after you have got the partitions re-arranged and then check the formatting.

#16 OFFLINE   jodef

jodef

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,429 posts

Posted 05 February 2004 - 06:13 PM

Owyn, on Feb 5 2004, 01:57 PM, said:

The key trick is to keep your data (music, documents, etc) in a partition separate from your OS. That way they can be shared by any OS.
Owyn what format would you suggest and would it be wise to automount on boot or mount only when req'd?

#17 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 05 February 2004 - 06:17 PM

jodef, on Feb 5 2004, 05:08 PM, said:

Owyn, on Feb 5 2004, 01:57 PM, said:

The key trick is to keep your data (music, documents, etc) in a partition separate from your OS. That way they can be shared by any OS.
Owyn what format would you suggest and would it be wise to automount on boot or mount only when req'd?
Johann:In your case (Linux only) I recommended ReiserFS.If you also have to share with Windows, then VFat 32 is best.If you are going to be likely to use the data every time you boot a distro, then automount it.

#18 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 06 February 2004 - 03:44 PM

:thumbsup:     Well,,,,, not so good here. Tried to install the Slack 9.1 onto  hda5 with absolutely no luck. Attempted to run fdisk to set up a boot, and root segment but when I  entered into the setup mode and the OS started to install I get a fatal error indication telling me the   coreutils may be corrupt. Also during the  setup portion I encountered a portion where it tells me that it has detected a fat 32 file system and would I like for it to be accessable from Linux, clicked yes and continue on. Only thing is when I installed Windows I selected the NTFS  file system so I have no idea where it came up with the Fat 32 info. The print out says  this     Win9x fat32 215023971 (the size allotted in that partition). So, it did not install, at least not yet, but to the best of my knowledge I did not damage anything (I hope).  unrelated question:  using fdisk -l /dev.hdb gave me the following readout:   hdb1 (boot)  (83)   hdb2 (extended) numerical indiator  5   hdb5 swap   (82)   hdb6 (83)   I did not create an extended partition in Mndrke 9.0 during the install. It was all just click, click, etc. Was that extended partition done automatically or is something defunct here (other than the installer).
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#19 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 February 2004 - 04:02 PM

Hi LonggoneWhy did you set up a seperate /boot partition ? . . . I suppose hbd6 is for your /  . . . I can not see why it would tell you that the coreutils may be corrupt during the install . . because nothing is installed yet and all is still on CD . . . If I remember right you did use those CDs fro previous successful installs of Slack . . . so the coreutils story is weird. I would say just start again . . Also on the question if you want to include access to the Windows partitions I would say NO . . and mount them at will later when you need to . . I think permanetly mounted partitions you do not use daily is unsafe and unneeded.Because Mandrake knows you want lots of partitions it makes the 2nd extended automagically . . that way you can add as many as you like :teehee::thumbsup: BrunoSorry confused:

Quote

Tried to install the Slack 9.1 onto hda5
????

Edited by Bruno, 06 February 2004 - 04:14 PM.


#20 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 06 February 2004 - 05:05 PM

:thumbsup:  :teehee:    Well... figured it would need a boot, but that was the first time around, further looking and realized that the boot was in the XP and did not need to create a seperate one. It did auto detect the swap partition just as you said, but, after I accepted it as being added to the fstab and it went back to the main menu it asked if I wanted to do anything with the already installed hdb portions and nothing at all about where I intended to install Slack which was on  hda5.  I believe that is where I start running into the problems, since I am not sure how to tell it to go to hda5 and leave hdb alone.   At least I am relieved to know that  the extended partition was not something I had unknowingly caused. I shall keep that in mind for possible future use.    So I guess basically all I will have in the Slack install is a  root, home, and usr   partitions, yes or no ???
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#21 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 06 February 2004 - 05:30 PM

Or put it all in one partition.  You have your separate partition for swap already so all you really need is a partition for Slack.--Julia :thumbsup:
Teacher
Beach Bum Extraordinaire

#22 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 February 2004 - 05:34 PM

teacher, on Feb 6 2004, 10:25 PM, said:

Or put it all in one partition.  You have your separate partition for swap already so all you really need is a partition for Slack.--Julia :teehee:
Or do a separate /home . . . . no need to seperate /usr because upgrades will do a full reinstall anyway . . :w00t::thumbsup: Bruno

#23 OFFLINE   longgone

longgone

    Thread Kahuna

  • Forum MVP
  • 5,155 posts

Posted 06 February 2004 - 06:13 PM

B)  B)  :huh: Bruno, Teacher,,,,     Okay,,,, if I understand this correctly after I login as root, I can then enter setup and go to that menu, select   target partitons and it will know that I want them on   the  hda5 portion and that is all there is to it. Other than it might ask about the  swap.  I know it can't be that  easy, somewhere there has to be a    "gotcha".
Dale

U.S. Navy (ret.) '62 - '84
Communications (Radioman)

Reg. Linux User 412421

#24 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 February 2004 - 06:17 PM

Quote

after I login as root
??? . . not clear what you are saying there . . . at the first prmpt you just  hit enter and don't log in . .  And yes you tell it to install on /dev/hdaX . . . and it will find the /swap automagically, you only have to confirm that that is the   partition you want to use as /swapB) Bruno

#25 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 06 February 2004 - 06:31 PM

To do the install you simply boot from the CD and then when it asks for partitions you tell it the one you selected for your files and then confirm where your swap is located (in whichever order they appear) and then you are done.  If you are doing a separate /home then you will indicate that as well.  Happy installing!--Julia B)
Teacher
Beach Bum Extraordinaire




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users