LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   resize or move /boot partition (https://www.linuxquestions.org/questions/linux-general-1/resize-or-move-boot-partition-167296/)

breenbaron 04-07-2004 09:32 AM

resize or move /boot partition
 
Hello folks,

Recently I reinstalled SUSE9 and somehow created a 10 Gb /boot partition. Obviously this is a waste of disk and would like to find a way of transferring the /boot filesysytem to the main / partition and reusing the spare 10Gb. Any ideas welcome!!


Thanks.

BB.

profjohn 04-07-2004 09:47 AM

parted is a linux program that will move/create/resize your partitions:

http://www.gnu.org/software/parted/parted.html

You can find some good howto info for parted by doing a serch for parted howto...

breenbaron 04-07-2004 10:59 AM

/boot copy
 
Thanks for your reply.

Is there a way of copying manually the contents to the / root partition and updating the system to detect the new /boot. I am thinking of creating a /boot mountpoint on the / partition, copying the data and reusing the old /boot partition.

rkngl 04-07-2004 11:13 AM

You can copy the files and folders over manually (copy the contents to a temporary location, unmount your /boot partition, move the contents back to /boot folder). Once you do that, though, you'll have to reinstall your bootloader.
Assuming you want to install your bootloader to your primary master hard disk, and you're using grub as your boot loader, you'd run:
grub-install (hd0)


All times are GMT -5. The time now is 12:13 AM.