LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2006, 06:14 PM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 132

Rep: Reputation: 15
Unhappy Partition table..HELP!


i have a small problem with my lap:
i have a partition table so made:
win32-reiserfs-reiserfs-linux swap
i have installed win xp and kanotix..
now i wish to install ubuntu to give it a try BUT i already have 4 primary partitions what can i do?
i was thinking about moving the files in / and /home partitions in win32, then make an extended partition, and remake the reiserfs partitions as logical instead of primary (and put back the files).
the grub bootloader is on the first reiserfs partition.
how can i do that? anyone has a better idea?
i am afraid that if i do that fstab and grub things won't be accessible because pointing to wrong devices and i will have to edit BY HAND everything..
Thanks

Last edited by assasukasse; 06-06-2006 at 06:25 PM.
 
Old 06-06-2006, 07:27 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
That is about the only way to get logical partitions due to the limit of 4 primary partitions. If you need more then you need to create a new extended partition by deleteing one of the primary partitions. Then you can create new logical partitions.
3 primary
1 extended
many logical in the extended partition.

With that out of the way. Swap does not need to be a primary partition. So it can turn swap off ' swapoff ' then delete and create extended partitions from there is room. Then build a new swap partition as logical. Modify /etc/fstab to reflect to drive structure.

Or using a Live CD like Knoppix or Ubuntu or System Rescue CD and use qtparted to modify partitions but there are limits on reisfs. Check out qtparted on the limits.

Copying the info from / and /home to your win32 partition is not the best idea since losing certain permission structures and ownership of the files. What I would do is use a Live CD to tar up the contents of each partition to a tar compressed file. Then restore when new partitions are created and formatted. Again modify /etc/fstab and /boot/grub/grub.conf to reflect new locations. then run grub-install to generate a new grub on the MBR of the drive.

You really can't tar an entire linux distro while it is running since some files are also growing or having data changed. Tar will keep trying to get to the end and will never if it is constantly being modified.

Hope this helps.
Brian1
 
Old 06-06-2006, 07:44 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,114

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
When you move the partitions around, in addition to editing grub.conf and /etc/fstab, you will probably need to create a new initrd as well.

You DEFINITELY want to have a copy of Knoppix on hand during this procedure. For one, to tar up the partitions in preparation for copy as Brian1 said. But also to rescue yourself if you get something messed up. Backup you existing partition table before modifying it, so if the stinky stuff hits the rotating device, you can recover back to square one and start over.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 12:04 PM
Messed up partition table and Windows' partition boot sector pyromithrandir Linux - General 32 04-08-2006 01:26 PM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 03:12 PM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 07:22 PM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 10:46 AM


All times are GMT -5. The time now is 10:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration