LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-17-2011, 04:58 PM   #16
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232

If you want to be professional about this, (or perhaps that should be "doing things the easy way"), as well as making backups I would highly recommend getting a Gparted Live CD or USB stick if you can boot from that and prefer the USB format. Gparted is a marvellous application for messing around with partitions and has helped me out more often than I can count.

I think LVM's are without doubt "the future" for this sort of stuff but I've only ever looked at them in VM's - my host system is stuck in the past in that respect, (as well as me), I am constantly meaning to go the LVM route but I now have such a lot of storage, (by my standards anyway), I always put it off! I think undoubtedly the main thing is backup important stuff before you mess around, then get the Gparted live CD and, while you're at it, think about the LVM option.
 
1 members found this post helpful.
Old 02-17-2011, 06:39 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,369

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
After making partition changes the partition numbering may change. If that happens will have to edit /etc/fstab and fix your bootloader to reflect the changes.
 
1 members found this post helpful.
Old 02-17-2011, 09:46 PM   #18
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Robert.Thompson View Post
If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?
Me, I would delete sda5 & sda6 and create a single partition in the space left behind.
Next I would "cp -a /dev/sda7/* /dev/sda?/" (? being the number of the new partition) and "tar" sda8 and also store this on the new partition.
I am now free to delete sda7 & sda8 and create a single partition in their place.
Finally, "untar" the sda8 file placing it in the last created partition.
 
Old 02-18-2011, 09:23 AM   #19
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Hello:

Note: I am an inexperienced linux user.

Before I did anything, I did 'dd' back ups of sda7 & sda8 and accepted the fact that I might have to totally reinstall Slackware, again.

Here is exactly what I finally did:
  1. Booted my PC with my Parted Magic 5.9 CD
  2. Used CloneZilla (in Parted Magic) to clone /dev/sda7 & then /dev/sda8 to my external USB drive
  3. Used the Parted Magic partitioning tool to delete sda5, sda6, sda7 & sda8
  4. Used the Parted Magic partitioning tool to create: sda5 (2GB), sda6 (2GB), sda7 (40GB) & sda8 (80GB)
  5. Used ClonzeZilla (in Parted Magic) to restore the images for sda7 & sda8
  6. Rebooted, logged into Slackware & wrote this.

I recreated sda5 & sda6 so, I hoped, that my Grub menu (I am using Grub not LILO) on the MBR would still function - I am here so, I guess it does!

During the restore process, CloneZilla issued some warning messages about 'Grub' but I guess they did not matter to my configuration.

I also noted that CloneZilla ran 'resize2fs' as part of its' restore process.

Marking this as SOLVED. (I hope.)

Thanks to all for your advice and guidance,
 
Old 02-18-2011, 11:47 AM   #20
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool. I'm glad that worked out for you!
 
  


Reply



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
Safe to resize used partitions? pickarooney Linux - Software 6 12-25-2006 06:10 AM
How do I resize partitions? watha SUSE / openSUSE 4 09-28-2006 10:29 PM
Hoe safe to resize partitions? heffo_j Linux - Hardware 2 07-02-2006 10:04 AM
Resize Partitions mramos Red Hat 4 09-12-2005 09:32 AM
are partitions safe? cilcit Linux - Newbie 5 08-29-2005 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:33 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