Jump to content
Scot's Newsletter Forums
Sign in to follow this  
longgone

installing an OS on a partioned drive

Recommended Posts

: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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
: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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Hi LonggoneMaybe let DiskDrake format them Ext3 . . . that way you are sure every distro will find them :D:lol: Bruno

Share this post


Link to post
Share on other sites
:) 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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[quote name='Owyn' date='Feb 5 2004, 01:57 PM']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.[/quote]Owyn what format would you suggest and would it be wise to automount on boot or mount only when req'd?

Share this post


Link to post
Share on other sites
[quote name='jodef' date='Feb 5 2004, 05:08 PM'][quote name='Owyn' date='Feb 5 2004, 01:57 PM'] 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.[/quote]Owyn what format would you suggest and would it be wise to automount on boot or mount only when req'd? [/quote]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.

Share this post


Link to post
Share on other sites
: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).

Share this post


Link to post
Share on other sites
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[/quote] ???? Edited by Bruno

Share this post


Link to post
Share on other sites
: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 ???

Share this post


Link to post
Share on other sites
[quote name='teacher' date='Feb 6 2004, 10:25 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 :teehee:[/quote]Or do a separate /home . . . . no need to seperate /usr because upgrades will do a full reinstall anyway . . :w00t::thumbsup: Bruno

Share this post


Link to post
Share on other sites
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".

Share this post


Link to post
Share on other sites
[quote]after I login as root[/quote] ??? . . 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

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...