LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to move a LL partition?
#1
I just upgraded a friend's machine from LL 2.4 to 3.0. It's a dual boot with Win7, which occupies the front of the HDD.


Now that the upgrade is done, I realize I should have wiped the HDD, forgotten about Win7, and installed LL at the front of the drive, for maximum performance.


I suppose I could use clonezilla to capture the LL install, then move it to the front of the drive, and maybe move the Swap partition as well. But what then would be the best way to reinstall Grub2?


So far I've come across a boot-repair disk, which looks promising, and also some command line stuff via the linux live disk. Any help would be appreciated.
Reply
#2
Maybe make an ISO with Systemback, test it!, wipe what you like to wipe, if needed make new partition(s) and swap and install the ISO?
Reply
#3
Thanks much. I hadn't thought of that. I have gone ahead via the clonezilla route, but I'm using the clone as a backup, then trying GParttEd to Move the partition. I'll report back how it worked.
Reply
#4
On the surface, all went well, though GPartEd took a long time to copy the LL partition over.

But the new swap partition doesn't appear to be working. I updated the swap partition's UUID in fstab. I ran sudo swapon and get no output.


I've also run sudo /sbin/mkswap -a, but every time I try that it changes the UUID of the swap partition.


The machine takes 2 minutes to boot up, and even complicated macros in LibreOffice don't register any swap action. System Monitor shows the 4.2GB of swap available, but 0 usage at all times.
Reply
#5
Hi paul1149,

What does the following give you:
Code:
sudo swapon -s
Reply
#6
Hi LL-User,


Very strange. I ran that command, and immediately noticed that the swap was in use, whereas minutes before it was still empty. Here's a pic:


http://imgur.com/GoqHnZs

Browser loading now was fast, as it should be. But then I rebooted, and the same delays began again. Another pic shows fstab lining up with bklid, and swapon showing no usage, even with some pretty heavy loading:


http://imgur.com/3LXeYzE
So I have proof of concept, but I think it's still not working.
Reply
#7
Sorry, pics not showing up for some reason.
Reply
#8
(07-15-2016, 02:57 AM)paul1149 link Wrote: Sorry, pics not showing up for some reason.

Have you followed the Forum Posting Guidelines?
[size=1.35em]
Inserting images:
[/size]
Upload your images to imgur for free:
Copy the code from the BBCode box in imgur and paste it on a line where you want the picture to appear.
Reply
#9
No, I used the Insert Image function here. Now when I go to Imgur there's no link available. Not sure how it works, but maybe accessing from the original machine would show available links. I posted from the problem machine without an imgur account. Can't access original machine right now, but I did insert the hard links to the pics.
Reply
#10
OK, had a look at your screenshots. What sticks out to me is this part of your blkid command:
Code:
TYPE="swsuspend"

I'm not sure about the sequence you have used the commands to recreate the swap partition etc.

I'd do the following:
  • deactivate swap
  • recreate it
  • run blkid to confirm the TYPE="swap' and to get the new UUID
  • adjust fstab
  • reboot
See what happens. If it reverts back to TYPE="swsuspend" then we need to look further.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)