Help - Search - Members - Calendar
Full Version: Resize Boot Partition - Dual Install Suse 9.1/xp
Linuxhelp > Support > Technical Support
calabisix
I am new to LInux...and I wanted to see if I could setup a dual boot system on my own.
Well I did!
I have XP SP2 installed with Suse 9.1

When I was setting up SUSE I set my boot partition to only 7 MB

I have installed more packages and my boot partition is almost full.

I have tried to resize it by using YAST,SystemRescueCD and parted...but non allow me to.

What can I do to resize the boot partition? or do I need to re-install java script:emoticon(':angry:')and make sure I make the boot partition big
enough next time
Thanks in advance.

Doug
calabisix
Hi
does anyone have any input on this issue?
thanks
hughesjr
Do you have any unpartitioned disc space? If it starts on the sector right after /boot, you can extend the boot partition ... if not, you can't extend the /boot partition.

------------------
This is tricky, but it will work... (be careful smile.gif)

You don't have to have a boot partition (you do mean a boot partition and not the root partition right?)

If you have plenty of room in the root partition and none in the boot partition, you could create a temporary directory like this:

cp -Rp /boot /tmp

then make sure that /tmp/boot exists and is a copy of /boot

then unmount the /boot partition with the command:

umount /boot

Make sure /boot is empty with this command:

ls -al /boot

then copy the stuff from /tmp/boot to /boot

cp -Rp /tmp/boot/* /boot

Make sure all the files were copied into the new /boot:

ls -al /boot

Edit the file /etc/fstab and remark out the /boot partition line by putting a # in front of it...

edit the file /boot/grub/menu.lst and change everything that currently points to your boot partition to /boot/ ... for example:

If boot partition is /dev/hda1 and root is /dev/hda2, you would change all:

(hd0,0)/

to

(hd0,1)/boot/

.....
calabisix
Well I have done all the steps except edit the Grub menu (scared!!)
This is what it shows:
# Modified by YaST2. Last modification on Sat Nov 6 19:13:57 2004


color white/blue black/green
default 0
timeout 15
gfxmenu (hd1,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd1,0)/vmlinuz root=/dev/hdb7 resume=/dev/hdb6 showopts splash=silent desktop
initrd (hd1,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title CD Drive TDK
root (fd3)
kernel /vmlinuz root=/media/cdrecorder

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd1,0)/vmlinuz root=/dev/hdb7 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd1,0)/initrd

Can you offer some guidance? Thanks!
calabisix
I made updates to the menu.lst file...and now LInux won't boot to the harddrive. Can someone please look at the menu.lst below and see what I am doing wrong? Thank you

# Modified by YaST2. Last modification on Sat Nov 6 19:13:57 2004


color white/blue black/green
default 0
timeout 15
gfxmenu (hd1,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd1,0)/boot/vmlinuz root=/dev/hdb7 resume=/dev/hdb6 showopts splash=silent desktop
initrd (hd1,0)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title CD Drive TDK
root (fd3)
kernel /vmlinuz root=/media/cdrecorder

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd1,0)/boot/vmlinuz root=/dev/hdb7 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd1,0)/boot/initrd
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.