LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-13-2005, 07:30 PM   #1
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
swapping /boot and / partitions


Hi

Before installing Sarge, I created a 3-partition scheme, one each for /boot, /, and swap. The problem is that the /boot stuff got mistakenly installed on the big partition and / on the small one.

Can I swap the contents of these partitions and change the bootable flag to the correct (small) partition, and then reconfigure GRUB? Is so, any recomendations for the procedure?

My Fujitsu P-1110 has NO CD-ROM drive so a reinstall is rather painful. I'd like to shuffle the data around if this is possible.

thanks,

Peff
 
Old 06-13-2005, 08:29 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i don't see why you cant.

but it might take multiple reboots, first theres the problem of the programs, if you move them, then the next time you use em, it might fail, so you should copy over all contents of the programs (whats in /boot) to its new home, then do the same to the other stuff, reconfigure grub (and anything else), then restart, then delete anything that needs to be, then restart it it should be fixed .......

is that right?
 
Old 06-14-2005, 12:20 AM   #3
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Hi

thanks for the advice. I think I have a less risky solution:

1. shrink my /boot partition

2. Create another logical partition to hold the /usr and /home directories. where I expect the system to grow the most in the future

3. modify fstab to mount the relocated directories

reasonable?

thanks

Peff
 
  


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
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
swapping 2 distros on different partitions hypermegachi Linux - General 10 08-05-2004 01:30 AM
partitions not mounted at boot jackren Debian 1 03-20-2004 07:59 PM
Boot partitions, how many can I have or should I have. dalek Linux - General 12 11-16-2003 10:53 PM
boot partitions newlinuxman Linux - Software 4 09-16-2001 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration