Jump to content
Sign in to follow this  
longgone

More Partitions . . More Distro's to boot

Recommended Posts

Bruno../..Barry B ....Well .... on the hda I have Mandrake 9.0 and Windows XP ... on the surmise that 9.0 took hda1 and 2 and XP took 3 I should have one left (maybe, could be more) and on hdb Mandrake 10.0 is all by it self and probably has hdb1 and 2 .. leaving hdb 3 and 4 ..... but I have d/l bootitng partitioning tool which I have given great thought to using to create extra primary partitions .... but will need great advice and guidance if I do this ..... but ... that is what is left on this machine at the moment .... got lots of hard drive space left on both hda and hdb

Share this post


Link to post
Share on other sites

Well, Dale . . . .that does open some perspective ;) :DBut first: I don't know what partitioning tool you downloaded and want to use . . . the Mandrake native partition tool you have in Drake 10 is far superior to any other tool available. So my first advice is: don't use the one you downloaded.Also if you are going to make extra primary partitions ( where you already have extended like on hdb ) the numbers are highly likely going to change with the result that no distro that is already installed will boot . . .ask AbeL and Stryder who just went though this ordeal last week . . . . . . So my second advice is: only add extended ones, and with higher numbers then the existing ones. Also resizing might mess up the partition table that way that booting XP and/or Drake 10 will be inpossible !The easiest thing ( a kind of bail-out ) is to just use the partitions that were allocated to Drake 9.0 and use them ( without changing sizes ) for another distro.But as long as we are at it we might as well have a serious look at the partition setup you have now and see if we can ( with the minimum of risk ) make some changes to use the space on your HDs better.For this I want you to post the following:

# fdisk /dev/hda

then press a P and post what you see . . then press a Q to quit fdisk.We do the same for hdb:

# fdisk /dev/hdb

then press a P and post what you see . . then press a Q to quit fdisk.I will then study the results and we will use the coming weekend to make the changes.B) BrunoPS: I will split this off into a new separate thread as soon as we start the "real" work :huh:

Share this post


Link to post
Share on other sites

Bruno ......... Here is alllllll ... that info ....[root@localhost dale]# fdisk /dev/hdaThe number of cylinders for this disk is set to 12161.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): pDisk /dev/hda: 100.0 GB, 100030242816 bytes255 heads, 63 sectors/track, 12161 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 254 2040223+ 83 Linux/dev/hda2 255 2100 14827995 5 Extended/dev/hda3 * 2101 6562 35841015 7 HPFS/NTFS/dev/hda5 255 317 506016 82 Linux swap/dev/hda6 318 826 4088511 83 Linux/dev/hda7 827 2100 10233373+ 83 LinuxCommand (m for help): q[root@localhost dale]# fdisk /dev/hdbThe number of cylinders for this disk is set to 119150.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): pDisk /dev/hdb: 61.4 GB, 61492838400 bytes16 heads, 63 sectors/track, 119150 cylindersUnits = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System/dev/hdb1 1 4063 2047720+ 83 Linux/dev/hdb2 4064 32506 14335272 5 Extended/dev/hdb3 * 1 1 0 0 EmptyPartition 3 does not end on cylinder boundary./dev/hdb4 * 1 1 0 0 EmptyPartition 4 does not end on cylinder boundary./dev/hdb5 4064 12189 4095472+ 83 Linux/dev/hdb6 12190 32506 10239736+ 83 LinuxCommand (m for help): q[root@localhost dale]#this all so interesting .... :blink: :hmm:

Share this post


Link to post
Share on other sites

Thanks DaleI will study this info . . . . the next thing you can do is open the MCC --> Mount Points --> Partitions and note down the sizes of:hda1hda3hda6hda7hdb1hdb5hdb6Don't make any changes . . . just note down the numbers ;):blink: Bruno

Share this post


Link to post
Share on other sites

Bruno........ ;) :o What no changes .... no yen for excitement ...... well okay here is what I can get hda total cap 100GB ... as it stands now ..hda1 ... 1.9 (2.0)hda3 ... 34 (XP)hda6 ... 3.8 (4.0)hda7 ... 9.7 (10.0)remaining empty space 42GBhdb total cap 57GB ... as it stands nowhdb1 ... 1.9 (2.0)hdb5 ... 3.9 (4.0)hdb6 ... 9.7 (10.0)hda1, 6, 7 ... Mandrake 9.0 , hda3 Windows XPhdb1, 5, 6, ... Mandrake 10.0 (sole occupant)remaining empty space 41.6GBI made no changes .... :)

Share this post


Link to post
Share on other sites

As an add on to my last post ... I have here the following distros .... Fedora core 2, Gentoo 2004.1 and 1.4 x86, Debian 3.0r2, FreeBSD 5.2.1, not to mention Meppis 2002-10, Knoppix 3.4, Slackware 9.1 and several older ones also .....

Share this post


Link to post
Share on other sites

Good info Dale !! :)I will come back to you on this !;) Bruno

Share this post


Link to post
Share on other sites

Hi DaleWell, let us start with hda . . . we have 42 GB left on that drive . . . So boot into Drake 10 and go to the partition tool in the MCC . . click on the empty space and push the button "create" . . . . make a partition of 7 GB . . . format it Ext3 . . and when it asks you where you want to mount it choose "blank" ( So NO mount point !! . . This is very important . . we do not want Drake 10 to mount this partition anywhere . . there is a "blank" option in the drop down menu. )When finished make the next partition of 7 GB . . . . you do this 3 times ( 3 x 7 = 21 ) The last partition will be a backup partition of 21 GB ( 21 + 21 = 42 GB ) . . The partition tool will allocate the hda-numbers itself. Note the partition table ( +real numbers ) will only be really written once you reboot.This will give you space for 3 additional distro's on hda + a backup partitionWhen you are done reboot and:

# fdisk /dev/hda

then press a P and post what you see . . then press a Q to quit fdisk.We will do hdb later . . . ( hdb has some funny things in it, hdb3 and hdb4 . . . but we will NOT touch this because you risk making Drake 10 unbootable ) We will make a backup partition on hdb too . . . this means that you use the hda backup to backup things from hdb . . and the hdb backup to backup things from hda ;):D BrunoPS: Once we are done you will have XP and 8 Linux distros :D ( And 2 nice backup partitions ;) )

Share this post


Link to post
Share on other sites

Bruno .... Okay ... did what you said ... the info follows but I am making a guess that 7000MB is equal to 7GB and that is what I specified for each of 3 partitions, but when it is done it actually says they are 6.8GB and the final partition (the BIG one) is 22GB .. who or how does it not make the partition size the size that is requested ??????[root@localhost dale]# fdisk /dev/hdaThe number of cylinders for this disk is set to 12161.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): pDisk /dev/hda: 100.0 GB, 100030242816 bytes255 heads, 63 sectors/track, 12161 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 254 2040223+ 83 Linux/dev/hda2 255 12161 95642977+ 5 Extended/dev/hda3 * 2101 6562 35841015 7 HPFS/NTFS/dev/hda5 255 317 506016 82 Linux swap/dev/hda6 318 826 4088511 83 Linux/dev/hda7 827 2100 10233373+ 83 Linux/dev/hda8 6563 7454 7164958+ 83 Linux/dev/hda9 7455 8346 7164958+ 83 Linux/dev/hda10 8347 9238 7164958+ 83 Linux/dev/hda11 9239 12161 23478966 83 LinuxCommand (m for help): q[root@localhost dale]#

Share this post


Link to post
Share on other sites

Well, this is looking promissing Dale !! . . . So now do the same for hdb ! The real sizes 7 GB or 6.8 GB is a detail and of none importance as long as you get a nice looking table like you posted:

/dev/hda1 1 254 2040223+ 83 Linux/dev/hda2 255 12161 95642977+ 5 Extended/dev/hda3 * 2101 6562 35841015 7 HPFS/NTFS/dev/hda5 255 317 506016 82 Linux swap/dev/hda6 318 826 4088511 83 Linux/dev/hda7 827 2100 10233373+ 83 Linux/dev/hda8 6563 7454 7164958+ 83 Linux/dev/hda9 7455 8346 7164958+ 83 Linux/dev/hda10 8347 9238 7164958+ 83 Linux/dev/hda11 9239 12161 23478966 83 Linux
It is a beauty !! ;) :DSo now let us see the hdb ;):D Bruno

Share this post


Link to post
Share on other sites
;) :D Bruno ....Okay ... now here comes hdb .... more or less ... :D Password:[root@localhost dale]# fdisk /dev/hdbThe number of cylinders for this disk is set to 119150.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): pDisk /dev/hdb: 61.4 GB, 61492838400 bytes16 heads, 63 sectors/track, 119150 cylindersUnits = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System/dev/hdb1 1 4063 2047720+ 83 Linux/dev/hdb2 4064 117123 56982240 5 Extended/dev/hdb3 * 1 1 0 0 EmptyPartition 3 does not end on cylinder boundary./dev/hdb4 * 1 1 0 0 EmptyPartition 4 does not end on cylinder boundary./dev/hdb5 4064 12189 4095472+ 83 Linux/dev/hdb6 12190 32506 10239736+ 83 Linux/dev/hdb7 32507 46728 7167856+ 83 Linux/dev/hdb8 46729 60950 7167856+ 83 Linux/dev/hdb9 60951 75172 7167856+ 83 Linux/dev/hdb10 75173 117123 21143272+ 83 LinuxCommand (m for help): q[root@localhost dale]#BTW after my other machine is back up .... more fun it has a 76GB hda and a 71GB hdb

Share this post


Link to post
Share on other sites

Well, that was easy . . wasn't it ?? :DHere is what I want you to print out and stick with a big pushpin on your monitor ( storing it in /home is no good if you need it when you are doing an install ;) )

hda1 ... 1.9 (2.0)   Drake9hda3 ... 34 (XP)     XPhda5 ...             SWAPhda6 ... 3.8 (4.0)   Drake9hda7 ... 9.7 (10.0)  Drake9hda8 ... 6.8         NEWhda9 ... 6.8         NEWhda10 .. 6.8         NEWhda11 .. 22          BACKUPhdb1 ... 1.9 (2.0)   Drake10hdb5 ... 3.9 (4.0)   Drake10hdb6 ... 9.7 (10.0)  Drake10hdb7 ... 7.0         NEWhdb8 ... 7.0         NEWhdb9 ... 7.0         NEWhdb10 .. 21          BACKUP

:D Bruno

Share this post


Link to post
Share on other sites

PART 2Okay now about the distros you have there: "Fedora core 2, Gentoo 2004.1 and 1.4 x86, Debian 3.0r2, FreeBSD 5.2.1, not to mention Mepis 2002-10, Knoppix 3.4, Slackware 9.1"I strongly advice you don't start installing Gentoo and FreeBSD . . . those are for experts keep them for next year !Mepis is a good place to start . . then Knoppix . . . then Slackware . . . . then Debian . . then FedoraMy suggestion:hda8 ... 6.8 Mepishda9 ... 6.8 Knoppixhda10 .. 6.8 Slackwarehdb7 ... 7.0 Debianhdb8 ... 7.0 Fedorahdb9 ... Keep empty for future new thingsI have special plans with hda1,6 and 7 . . . . but that is the last one ! ;);) Bruno

Share this post


Link to post
Share on other sites

Bruno ..... :D :D :D Okay ... it is printed out (figured that out all by my self (print selected portions and not the whole page) .... and now I am going to guess I should put the Mepis disk in and it will automagically (????) pick out the hda8 partition an jump right into it .... ;) :D and I guess we can always wait a bit and do the Gentoo and FreeBSD on the other machine ... it has lots of room on it just XP ,, Slack 9.1 (going to redo it) and Mndrk 9.2

Share this post


Link to post
Share on other sites

Hi DaleMepis is a live CD . . . you boot it and get the GUI . . . then on the desktop you will find a link to a file for the HD install . . . it will ask you on what hda yopu want to install it . . . just say /dev/hda8 . . and away you go . . at the end install the LILO in the MBR and check if it boots ( and you have net-connection ) . . . then boot from your Mandrake boot-CD and restore the Drake Lilo to the MBR and come back for instructions on how to add Mepis to the Drake Lilo . . . simple . . . ;) Bruno

Share this post


Link to post
Share on other sites

Bruno ...... ;) Okay ... did Mepis once already ... just did not know how to make it go to where it supposed to go .. at least not real sure about it .... .. since I do have 2 disks for Mepis ... what say we install the 2nd disk too and see what comes up or out of it.I take it that after I finish step 1 (install) and do step 2 that step two is going to be the /sbin/lilo and after that I will be doing a kedit etc/lilo.conf and making an entry there to put Mepis into the boot menu.

Share this post


Link to post
Share on other sites

Yep . . it seems you have an older version of Mepis there then I have . . because I had only one CD . . . . but what you wrtite there makes sense indeed . . . . only, just to be clear, the last part:

step two is going to be the /sbin/lilo and after that I will be doing a kedit /etc/lilo.conf and making an entry there to put Mepis into the boot menu.
Has to be done in Drake ;);) Bruno

Share this post


Link to post
Share on other sites

Yes ... in Mandrake 9.0 to be exact ,,, since that is the Lilo that everything has been written to so far .... unless you are going to surprise me with something different and new .... ( ;) :o :o oh no ,,, not new)

Share this post


Link to post
Share on other sites

O ooooooo . . . NO !! we want to use the Drake 10 LIlo from now on !!! . . You have a Drake 10 boot-CD . . so boot into 10 and write that lilo to the MBR . . . on the double . . pronto . . now !! ;) :DDrake 9.0 will be dumped in the end !:o Bruno

Share this post


Link to post
Share on other sites

DaleThe older second disk is only additional programs..and most are available from debian through synaptic after install anyway...i don't think there has been the 2nd disk has been updated sense 2003.10...Mepis is up to 2004 BL5 now..and is no longer a 2 disk set....

Share this post


Link to post
Share on other sites

Bruno .......I am in Mndrk 10 now so what should I go to Lilo and put in it anyway ..... and yes I do have the 10.0 boot CD sitting right here along with its 9.0 cousin ;) :o Barry B .....You mean I spent all that money getting all them CD's for all those different systems and they are out of date already ..... darn the bad luck .... well ... live and learn I guess.

Share this post


Link to post
Share on other sites

Hi DaleJust first let me see

# cat /etc/lilo.conf

And about the out of date CDs: . . Never mind you did get the latest stable version . . the one I have is an RC . . so just install the one you have, that is fully okay ! ;) ( And you do not have much choice on dial-up anyway . . . . :o ):o Bruno

Share this post


Link to post
Share on other sites

H/W cat ..........................# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdb1map=/boot/mapdefault="linux-i686-up-4GB"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz label="linux" root=/dev/hdb1 initrd=/boot/initrd.img append="devfs=mount acpi=ht splash=silent" vga=788 read-onlyimage=/boot/vmlinuz label="linux-nonfb" root=/dev/hdb1 initrd=/boot/initrd.img append="devfs=mount acpi=ht" read-onlyimage=/boot/vmlinuz-i686-up-4GB label="linux-i686-up-4GB" root=/dev/hdb1 initrd=/boot/initrd-i686-up-4GB.img append="devfs=mount acpi=ht splash=silent" read-onlyimage=/boot/vmlinuz-2.6.3-7mdk label="263-7" root=/dev/hdb1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount acpi=ht splash=silent" read-onlyimage=/boot/vmlinuz label="failsafe" root=/dev/hdb1 initrd=/boot/initrd.img append="failsafe acpi=ht devfs=nomount" read-onlyother=/dev/fd0 label="floppy" unsafe[root@localhost dale]#this is from 10.0 (as you can see) it does not have the 9.0 or the XP listed in it

Share this post


Link to post
Share on other sites

Hi DaleWe do not need 9.0 anymore . . . copy the files from /home/dale in 9.0 to the backup partition on hdb: ( In Drake 9.0 )

$ su# mkdir  /mnt/hdb10# mount  /dev/hdb10  /mnt/hdb10# cp -r  /home/dale  /mnt/hdb10/dale# umount  /mnt/hdb10

And then reboot into Drake 10 and add the next lines to this lilo:

other=/dev/hda3        label="Windows-XP"        table=/dev/hda

. . . Then write the new lilo to the MBR . . and test if XP bootsB) Bruno

Share this post


Link to post
Share on other sites
:o ;) :o B) Okay ,,,, before I take this mighty step .... I will be doing this from Mndrk 9.0 on hda and it will be going to the brandy new backup partion on hdb .... and then I am going back into Mndrk 10.0 an change the lilo and add XP to it and then for all practical purposes ... 9.0 is going to just be sort of hanging around for a while till it gets the axe .... now at what point does the change take place for the Lilo menu (boot selection) to boot into 10.0 and not 9.0

Share this post


Link to post
Share on other sites

Yep that is the way I thought was safest . . let 9.0 hang around for a while . . you never know ;)As for the new Lilo . . as soon as you made the changes in the Drake 10 /etc/lilo.conf to add XP . . . then you will write the new LIlo to the MBR with

# /sbin/lilo

. . From then on you wil not be able to boot 9.0 anymore with Lilo ( you could still with the boot-disk of 9.0 you have though ) . . . but use the Drake 10 Lilo that has Drake and XP . . and later also Mepis, Knoppix etc. etc. . . :DB) Bruno

Share this post


Link to post
Share on other sites

Bruno ,,,, Just tried to do the mkdir an the mount etc etc etc .... when I tried the mount command it rejected it telling me that it needs to know what file system it is ... where do I put that at ... end or middle ?????????????

Share this post


Link to post
Share on other sites

You should not have to tell is what filesystem it is . . it should know ! . . . . Maybe try again . . reboot and try again . . ( mkdir is not needed a second time );) Bruno

Share this post


Link to post
Share on other sites

Bruno .....Password:[root@localhost dale]# mount /dev/hdb10 /mnt/hdb10mount: you must specify the filesystem type[root@localhost dale]#we is not getting any cooperation here ....

Share this post


Link to post
Share on other sites

Check in the MCC ( 9.0 ) if that partition is formatted . . . . if not do format it . . and mount it on /mnt ;) . . then close the MCC . . reboot . . and after boot it should be mounted automatically ;):o Bruno

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...