Re: Resizing partitons for triple boot system?
From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 09/10/04
- Next message: Jean-David Beyer: "Re: Can't restore Red Hat Ent V3 from tape"
- Previous message: Dave: "Can't restore Red Hat Ent V3 from tape"
- In reply to: Larry Gagnon: "Resizing partitons for triple boot system?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Sep 2004 16:59:49 GMT
On Fri, 10 Sep 2004 09:18:14 -0700, Larry Gagnon wrote:
> I currently have a dual boot machine (Mandrake Linux and WinXP) on a 120GB
Always provide linux version with question. May help you get better answers.
> hard disc, using LILO. I want to add a third boot to Yoper Linux. My
> partitions currently are:
>
> Primary: 49GB, NTFS, WinXP
> Extended: 68GB, Ext3, Linux
> Logical: 6GB, Ext3, /
> Logical: 512MB, Linux Swap
> Logical: 57GB, Ext3 /home
>
> I want to resize the NTFS Primary partition to 40GB and the third Logical
> partition to 40GB to give me 26GB of space for Yoper Linux.
When you shrink NTFS and set that new 9GB partition, you will have to
modify /etc/fstab and /etc/lilo.conf to set their new partition numbers.
>Is there one
> tool that will do that (I believe "parted" will not resize the NTFS part.)??
Have you looked in the Mandrake Control Center--> Hardware --> Hardware
click the hda and Run Config Tool bottom right.
click the ntfs and umount it.
> Secondly, once I have the space on the hard drive how what do I have to
> add to my lilo.conf to get it to show Yoper Linux on the Lilo boot menu?
First thing I do is create a lilo boot diskette and test it.
lilo -b /dev/fd0
Ignoring entry 'boot'
Or verify you know how to use cd 1 in the rescue mode to replace MD lilo mbr
Also you can do the following in yoper, mount the MD partition and
paste in the Mandrake stanza so you can boot right back into MD.
I usually install a new distro and select lilo in the mbr just like I do on
Mandrake. I then boot Mandrake back up and click up two root terminals
to do the following:
mkdir /yoper
mount -t auto /dev/hdaX /yoper # you solve for X
less /yoper/etc/lilo.conf
I then cut/paste the stanza from /yoper/etc/lilo.conf
into /etc/lilo.conf and add /yoper
to the image and initrd lines and change the label.
Examples from my Mandrake 10.0 Official Edition
Mandrake 10.1 RC1 (/md101rc1) snippet
image=/md101rc1/boot/vmlinuz
label="md10_1_rc1"
root=/dev/hdb6
initrd=/md101rc1/boot/initrd.img
append="devfs=nomount resume=/dev/hdb1 splash=0"
vga=788
read-only
and Redhat 8.0 (/rh80) snippet
image=/rh80/boot/vmlinuz-2.4.18-14
label="Redhat_8_0"
initrd=/rh80/boot/initrd-2.4.18-14.img
read-only
append="root=LABEL=/"
Once changes are made, install them
lilo -v
-- The warranty and liability expired as you read this message. If the above breaks your system, it's yours and you keep both pieces. Practice safe computing. Backup the file before you change it. Do a, man command_here or less command_here, before using it.
- Next message: Jean-David Beyer: "Re: Can't restore Red Hat Ent V3 from tape"
- Previous message: Dave: "Can't restore Red Hat Ent V3 from tape"
- In reply to: Larry Gagnon: "Resizing partitons for triple boot system?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|