You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Best way to move a LL partition?

Author (Read 6330 times)

0 Members and 1 Guest are viewing this topic.

Re: Best way to move a LL partition?
« Reply #16 on: July 16, 2016, 06:43:46 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
The only reason I wondered about that is that the install is not as fast booting up as I thought it would be. Moving it to the front of the drive should have brought big advantages, but subjectively, I'm not seeing them. But short of doing a comparison, it's just a feeling.

That would be a confirmation regarding the TYPE rewrite. The machine I think can handle hibernation, so I'm not sure why it failed. But I didn't want to explore the problem at this point! :)

BW.
 

Re: Best way to move a LL partition?
« Reply #15 on: July 16, 2016, 06:37:44 PM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
Hi Paul,

I see no reason why you should reinstall your system in terms of stability etc. Except you want to run it as an exercise :)

To my understanding that "TYPE" rewrite is connected with the suspend/hibernate process.
Am sure you're aware of the difference between suspend and hibernate. If you've the hibernate option (am currently not running LL3.0 and it might be also hardware dependent) then of course you need a big enough swap partition to make it work.

All the best :)
 

Re: Best way to move a LL partition?
« Reply #14 on: July 16, 2016, 05:44:21 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Yeah, seems to be fine. I wonder if it's better to just reinstall though, though dealing with the problem was a learning experience.

I'm just guessing at that fstab "TYPE" rewrite. Maybe it's what flags Swap to act like Hiberfil in Windows. I'm pretty new to Linux.

IAC it's working quite well. Thanks again for your help.

Be Well,
Paul
 

Re: Best way to move a LL partition?
« Reply #13 on: July 15, 2016, 05:05:56 PM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
Hi Paul,

That's good news you got it working!

All the best :)

PS: I was actually scratching my had to see that type considering that I only could read you had rebooted the machine. Next time I'll better ask :)
« Last Edit: July 15, 2016, 05:12:25 PM by LL-user »
 

Re: Best way to move a LL partition?
« Reply #12 on: July 15, 2016, 02:51:53 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Actually, now it's up to 331MB, which is nice to see.
 

Re: Best way to move a LL partition?
« Reply #11 on: July 15, 2016, 02:42:07 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Ok, I'm back on the problem machine. Even logged into Imgur I have no ability to correct the earlier links, but thanks for going there and reviewing them.

Sharp eye regarding that TYPE="swsuspend". That wasn't like that earlier. I think attempting to Suspend and Hibernate may have rewritten the fstab line temporarily. Both attempts failed, btw, and the machine shut down cold.

So I just got here, and my friend had booted up, and it looks like everything's actually working! I opened Slimjet, Gimp with a pic, and ran a large macro in LO, and the swap went to 28MB. Seems low (Pentium 4 Processor, 2GB RAM), but I've never had much swap action in linux. I was thinking about this last eve, and had come up with the basic strategy you have outlined, but if this holds I guess there's no need.

Pic should follow. Thanks much for your input. I will look into adjusting the "swapability" parameter, to make more use of the swap function.

BW,
Paul

 

Re: Best way to move a LL partition?
« Reply #10 on: July 15, 2016, 02:19:11 AM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
OK, had a look at your screenshots. What sticks out to me is this part of your blkid command:
Code: [Select]
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.
 

Re: Best way to move a LL partition?
« Reply #9 on: July 15, 2016, 12:13:16 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Best way to move a LL partition?
« Reply #8 on: July 15, 2016, 12:06:16 AM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
Sorry, pics not showing up for some reason.

Have you followed the Forum Posting Guidelines?

Inserting images:

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.
 

Re: Best way to move a LL partition?
« Reply #7 on: July 14, 2016, 11:01:42 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Sorry, pics not showing up for some reason.
 

Re: Best way to move a LL partition?
« Reply #6 on: July 14, 2016, 10:57:16 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
« Last Edit: July 15, 2016, 12:10:49 AM by paul1149 »
 

Re: Best way to move a LL partition?
« Reply #5 on: July 14, 2016, 10:09:58 PM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
Hi paul1149,

What does the following give you:
Code: [Select]
sudo swapon -s
 

Re: Best way to move a LL partition?
« Reply #4 on: July 14, 2016, 09:15:20 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Best way to move a LL partition?
« Reply #3 on: July 14, 2016, 04:37:24 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Best way to move a LL partition?
« Reply #2 on: July 14, 2016, 02:06:22 PM »
 

rijnsma

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 16
  • Never give up..
    • View Profile
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?
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section