LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-07-2004, 09:32 AM   #1
breenbaron
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Rep: Reputation: 15
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.
 
Old 04-07-2004, 09:47 AM   #2
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
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...
 
Old 04-07-2004, 10:59 AM   #3
breenbaron
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 15
/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.
 
Old 04-07-2004, 11:13 AM   #4
rkngl
LQ Newbie
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10
Posts: 18

Rep: Reputation: 0
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't move or resize windows WoodLark Slackware 11 04-04-2013 04:37 PM
Swap file & Boot Partition Resize surfer2k3 Linux - Newbie 4 07-17-2008 07:50 PM
move and resize "/" partition - lilo ? enryfox Mandriva 3 04-28-2005 04:56 PM
Xp won't boot after partition resize Curtux Linux - General 7 04-04-2005 06:43 AM
Used Acronis to resize a partition now the system won't boot high_hopes Linux - Newbie 3 07-12-2004 01:33 PM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration