Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

Posted: 3/28/2024 10:41:56 PM EDT
GParted is a Linux program to configure partitions on a hard drive.
I need to re-partition my wife's computer, but you can't do it when the hard drive is in use, so you have to create a disc or stick to open the computer and have it installed before the computer starts.
Link Posted: 3/28/2024 10:47:15 PM EDT
[#1]
I use the non-G (e.g. command line) version of parted, depending on what you're trying to do I may be able to help.

And yes, drives don't like to be partitioned when they're mounted so you need to use a live USB/CD stick. Also tampering
with partitions of a currently partitioned/formatted drive is usually a quick way to a bad time.

I strongly suggest you make backups before you try anything.
Link Posted: 3/28/2024 10:47:38 PM EDT
[#2]
Whatever the partitioning program you use, you can't be messing with a disk in use.

You boot from a live DVD or a USB-stick system, then you do your disk diddling.  Do you have the first part figured out?
Link Posted: 3/28/2024 11:13:07 PM EDT
[#3]
Any Ubuntu, Mint or most other live USB's  will have gparted on them.  That will allow you to partition the drive because it won't be mounted.
Link Posted: 3/28/2024 11:31:54 PM EDT
[#4]
Just be careful.  Your boot disk in GParted looks an awful lot like your main drive.  Chose which partition to blow away carefully.

Link Posted: 3/28/2024 11:44:03 PM EDT
[#5]
I use an Ubuntu LiveCD or use Unetbootin to put an .iso on a USB stick.
Link Posted: 3/28/2024 11:50:27 PM EDT
[#6]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By Moondog:
I use an Ubuntu LiveCD
View Quote

I use Mint typically, but this. Just boot from a live disk and use the disk management function. Easy.
Link Posted: 3/29/2024 6:29:34 PM EDT
[#7]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By Moondog:
I use an Ubuntu LiveCD or use Unetbootin to put an .iso on a USB stick.
View Quote

I tried this three or four times today. Never was able to get an .iso on a memory stick using Unebootin.
I give up.
I may take it to a computer specialist in town.
Link Posted: 3/29/2024 6:31:51 PM EDT
[Last Edit: chrismartin] [#8]
If you boot off the Gparted image, you can edit your normal boot drive, but please be careful

https://gparted.org/liveusb.php

I use Balena Etcher to "burn" the USB drive.

https://etcher.balena.io
Link Posted: 3/29/2024 6:38:58 PM EDT
[#9]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:

I tried this three or four times today. Never was able to get an .iso on a memory stick using Unebootin.
I give up.
I may take it to a computer specialist in town.
View Quote

Try putting an iso on USB using Rufus.
Link Posted: 3/29/2024 8:03:55 PM EDT
[#10]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By dragoontwo:
Try putting an iso on USB using Rufus.
View Quote

I just burn the iso to a DVD, that way it's write-protected.
Link Posted: 3/30/2024 7:08:29 AM EDT
[#11]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By Gamma762:

I just burn the iso to a DVD, that way it's write-protected.
View Quote

This is what I ended up doing.
Now I will try it on a spare desktop before I do anything with my wife's computer.

I'll probably report back.
Thanks for all of the replies and useful info.
Link Posted: 3/30/2024 8:04:27 AM EDT
[#12]
if it is a windows computer, there is a built in partition adjustment now, so you can change partition sizes on the fly.
you didn't say, so just throwing that out there if you were not aware. windows 8 and up as I recall.
Link Posted: 3/30/2024 9:52:12 AM EDT
[#13]
GParted is a Linux program.

We are using the current version of Ubuntu Mate on four different machines.
I can afford to break one of the desktops experimenting before I touch my wife's laptop.
If I break one, I can just re-install the latest version from a disk I have. It will automatically re-partition the hard drive, but probably not the way I want it to.

Link Posted: 3/30/2024 10:13:06 AM EDT
[#14]
I'm going to ask what I ask to customers all the time. I know the what, now tell me why. The lack of ability to make a bootable USB drive, makes me wonder why you've chosen this solution to your unprovided root cause.
Link Posted: 3/30/2024 8:21:51 PM EDT
[Last Edit: AR-10] [#15]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By packingXDs:
I'm going to ask what I ask to customers all the time. I know the what, now tell me why. The lack of ability to make a bootable USB drive, makes me wonder why you've chosen this solution to your unprovided root cause.
View Quote

Because I created a bootable disk and it worked when I re-partitioned the computer?
the memory sticks, when I looked on the back of the package, said they were for Microsoft only.
The DVD worked.

Don't particularly like the tone of your post.
Link Posted: 3/30/2024 9:14:01 PM EDT
[Last Edit: Gamma762] [#16]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:
the memory sticks, when I looked on the back of the package, said they were for Microsoft only.
View Quote

Probably just means they are formatted in NTFS or something, you should be able to format them to anything you want.

I bought an external hard drive once that was sitting on clearance that was marked as for a game console only, plugged it in, deleted the partition table and reformatted to ext4, works fine.
Link Posted: 3/30/2024 9:32:22 PM EDT
[#17]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:

Because I created a bootable disk and it worked when I re-partitioned the computer?
the memory sticks, when I looked on the back of the package, said they were for Microsoft only.
The DVD worked.

Don't particularly like the tone of your post.
View Quote

You misunderstood. What are you attempting to solve for by repartitioning a drive? Knowing this informs me as to the actual issue and if your chosen solution is even ideal.

My tone on the other hand is simply one of experience. If a technical solution is chosen, and the ability to execute it is questionable, it's best to step back and look at the larger picture.
Link Posted: 3/31/2024 8:34:10 AM EDT
[Last Edit: AR-10] [#18]
@packing XDs

My wife and I both have Lenovo Thinkpad laptops purchased for a hundred bucks each. Business computers that had their hard drives wiped, and sold in bulk.

I installed Ubuntu Mate on them, and they work fine.

A few weeks ago hers started shutting down when she tried to open certain programs. It would just shut down instantly, with no warning. When it started doing that any time she went to Youtube, she became irate, so I looked at the partitions on her drive.  They were not partitioned like my computer is. I figured if I could re-partition her hard drive, that would fix the issue.

It's very easy to put an Ubuntu OS on a disk and install it to a computer.
Creating a live bootable memory stick for GParted...not so easy. After a few attempts, I started this thread.

That is the why.

I thank everyone who offered help, and I apologize to you for my reply.
I hope you and all of the others have a great day today.
Link Posted: 3/31/2024 8:47:29 AM EDT
[#19]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By IndyGunFreak:
Any Ubuntu, Mint or most other live USB's  will have gparted on them.  That will allow you to partition the drive because it won't be mounted.
View Quote



When you boot off the dvd or flash drive select "Try Ubuntu" and then once you get to the desktop click on "show apps" then click on "Gparted".
Link Posted: 3/31/2024 8:51:14 AM EDT
[Last Edit: packingXDs] [#20]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:
@packing XDs

My wife and I both have Lenovo Thinkpads, older computers, but purchased for a hundred bucks each.
I installed Ubuntu Mate on them, and they work fine.

A few weeks ago hers started shutting down when she tried to open certain programs. It would just shut down instantly, with no warning. When it started doing that any time she went to Youtube, she became irate, so I looked at the partitions on her drive.  They were not partitioned like my computer is. I figured if I could re-partition her hard drive, that would fix the issue.

It's very easy to put an Ubuntu OS on a disk and install it to a computer.
Creating a live bootable memory stick for GParted...not so easy. After a few attempts, I started this thread.

That is the why.

I thank everyone who offered help, and I apologize to you for my reply.
I hope you and all of the others have a great day today.
View Quote

OK, that paints a better picture. I really didn't need to know the details to know that mucking with the partition table wasn't going to help anything. However, providing those details, I can in fact give you some ideas/solutions. First, do you keep the the OS updated? Ubuntu should pop an update window if there are any available. You can also go to the software center and check there. Or open a terminal and type: sudo apt update && sudo apt upgrade -y

If there are updates, install them, and reboot. If the issue persists, then it can be a few other things. First, 'started shutting down'. Do you mean the application being used, or the entire laptop? If the laptop, like completely powered off until you hit the power button, or just restarts itself? If it completely powers off, its likely a hardware problem. Maybe cooling, maybe the GPU/RAM. There are ways to dig into that deeper, but for a $100 laptop the juice might not be worth the squeeze. If its just rebooting itself, then that could be a kernel panic (see above about updates). We could go down the kdump route if you really wanted to know 'how the sausage is made'. But I would guess the hardware may just be failing. Give me a rundown of these questions, and Ill be happy to throw some ideas at you.

ETA
Does the crashing happen when on AC power and/or battery?

- PackingXDs, 20yr IT professional keeping Linux running, 30yrs of using it personally.
Link Posted: 3/31/2024 11:04:17 AM EDT
[Last Edit: AR-10] [#21]
We keep our laptops plugged into a power source whenever we use them.

When I say "shut down", I mean it shuts down instantly, as if you hold your finger on the power button until it shuts off.

I know all about updates, and use Synaptic Package Manager, even if Update Manager pops up.
Then I click on Update Manager (if it's open), to see if there are Linux Headers to be removed. Usually it just says the computer is up to date. Sometimes it has Linux Headers to remove, sometimes it says to restart the computer to finish installing the updates.

My wife watches Youtube a lot, which heats her computer up, so she has a cooling fan she sets it on to keep it cooler.

The re-partitioning seems to have helped for now.

If it starts acting up again, then it may be time to replace her laptop.

Mate version 24.4LTS will come out soon. I usually like to wait a month to install a long term version, to give them time to work the bugs out. Right now we are running 23.10, which will lose support in July, I think.
Link Posted: 3/31/2024 1:53:04 PM EDT
[#22]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:

I tried this three or four times today. Never was able to get an .iso on a memory stick using Unebootin.
I give up.
I may take it to a computer specialist in town.
View Quote View All Quotes
View All Quotes
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:
Originally Posted By Moondog:
I use an Ubuntu LiveCD or use Unetbootin to put an .iso on a USB stick.

I tried this three or four times today. Never was able to get an .iso on a memory stick using Unebootin.
I give up.
I may take it to a computer specialist in town.


Use Rufus with the default settings.
Link Posted: 3/31/2024 2:03:17 PM EDT
[#23]
Given your description of the problem (mystery shutdowns), I'm not sure changing the partition table will solve it.  Take a look at what your system logs are recording at the time of shutdown/reboot.
Link Posted: 3/31/2024 8:17:30 PM EDT
[Last Edit: Gamma762] [#24]
Older computer with that symptom makes me think that heat sink is clogged with dust and/or fan has failed leading to overheating. The bios/motherboard is shutting down as a protective measure when the CPU temp (probably) gets too high, which happens when she tries to do something that is more processor-intensive. I've seen that over and over with older computers.

I can't really see how partitioning is having that effect on anything. If there wasn't enough swap space or something like that it would tend to result in freezes not power-offs. The bios on most computers will hard power off the machine once a monitored temperature reaches a critical threshold.

ETA:
install something that allows you to monitor the CPU temperature would be an easy way to see if this is what is happening:
https://linuxconfig.org/get-cpu-temperature-on-linux
https://itsfoss.com/monitor-cpu-gpu-temp-linux/
Link Posted: 4/1/2024 9:21:30 AM EDT
[#25]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By Gamma762:
Older computer with that symptom makes me think that heat sink is clogged with dust and/or fan has failed leading to overheating. The bios/motherboard is shutting down as a protective measure when the CPU temp (probably) gets too high, which happens when she tries to do something that is more processor-intensive. I've seen that over and over with older computers.

I can't really see how partitioning is having that effect on anything. If there wasn't enough swap space or something like that it would tend to result in freezes not power-offs. The bios on most computers will hard power off the machine once a monitored temperature reaches a critical threshold.

ETA:
install something that allows you to monitor the CPU temperature would be an easy way to see if this is what is happening:
https://linuxconfig.org/get-cpu-temperature-on-linux
https://itsfoss.com/monitor-cpu-gpu-temp-linux/
View Quote

I would just install something like glances and keep it up in a terminal, while doing Youtube or whatever causes the crash. It would be pretty evident if load/temps/etc were getting out of hand well before a hard crash.
Link Posted: 4/1/2024 9:50:42 AM EDT
[#26]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By packingXDs:

I would just install something like glances and keep it up in a terminal, while doing Youtube or whatever causes the crash. It would be pretty evident if load/temps/etc were getting out of hand well before a hard crash.
View Quote View All Quotes
View All Quotes
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By packingXDs:
Originally Posted By Gamma762:
Older computer with that symptom makes me think that heat sink is clogged with dust and/or fan has failed leading to overheating. The bios/motherboard is shutting down as a protective measure when the CPU temp (probably) gets too high, which happens when she tries to do something that is more processor-intensive. I've seen that over and over with older computers.

I can't really see how partitioning is having that effect on anything. If there wasn't enough swap space or something like that it would tend to result in freezes not power-offs. The bios on most computers will hard power off the machine once a monitored temperature reaches a critical threshold.

ETA:
install something that allows you to monitor the CPU temperature would be an easy way to see if this is what is happening:
https://linuxconfig.org/get-cpu-temperature-on-linux
https://itsfoss.com/monitor-cpu-gpu-temp-linux/

I would just install something like glances and keep it up in a terminal, while doing Youtube or whatever causes the crash. It would be pretty evident if load/temps/etc were getting out of hand well before a hard crash.


Psensor is available on UbuntuMATE.
Link Posted: 4/1/2024 10:27:48 AM EDT
[#27]
I turned both of our laptops over. they were filthy. Dust blocking all of the intakes and exhausts.
Vacuumed them both thoroughly.

I'll look into Psensor, and the links provided by Gamma762, and choose something to install.
Psensor would be the easiest to install, as I can do that with Synaptic Package Manager rather than using the terminal.

Thanks for all of the advice and help!
Link Posted: 4/1/2024 11:05:06 AM EDT
[#28]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:
I turned both of our laptops over. they were filthy. Dust blocking all of the intakes and exhausts.
Vacuumed them both thoroughly.

I'll look into Psensor, and the links provided by Gamma762, and choose something to install.
Psensor would be the easiest to install, as I can do that with Synaptic Package Manager rather than using the terminal.

Thanks for all of the advice and help!
View Quote


You'll get even more dust out of em if you'll pull the back plate off & get the grime out of the inside, particularly the fans.  Eventually the fans will pack up w/ grime in the bearings & need to be replaced.
Link Posted: 4/1/2024 11:37:33 AM EDT
[#29]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By backbencher:


Psensor is available on UbuntuMATE.
View Quote
glances should be an official package. Otherwise can be installed via pip. It's top, df, iftop and sensors all in one.
Link Posted: 4/1/2024 5:28:11 PM EDT
[Last Edit: AR-10] [#30]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By backbencher:


You'll get even more dust out of em if you'll pull the back plate off & get the grime out of the inside, particularly the fans.  Eventually the fans will pack up w/ grime in the bearings & need to be replaced.
View Quote

You were right. I pulled the panels off of both computers and the inside was more dirty than the outside.
Vacuumed both the back of the panels and the fan areas. Much cleaner now.

I installed Psensor using Synaptic package manager, but I don't understand how to use it. Read several links, don't know how to set minimum and maximum fan speeds.

ETA; I dumped Psensor. Decided I don't need it.
Link Posted: 4/1/2024 11:59:19 PM EDT
[#31]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:


You were right. I pulled the panels off of both computers and the inside was more dirty than the outside.
Vacuumed both the back of the panels and the fan areas. Much cleaner now.

I installed Psensor using Synaptic package manager, but I don't understand how to use it. Read several links, don't know how to set minimum and maximum fan speeds.

ETA; I dumped Psensor. Decided I don't need it.
View Quote View All Quotes
View All Quotes
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By AR-10:
Originally Posted By backbencher:  You'll get even more dust out of em if you'll pull the back plate off & get the grime out of the inside, particularly the fans.  Eventually the fans will pack up w/ grime in the bearings & need to be replaced.


You were right. I pulled the panels off of both computers and the inside was more dirty than the outside.
Vacuumed both the back of the panels and the fan areas. Much cleaner now.

I installed Psensor using Synaptic package manager, but I don't understand how to use it. Read several links, don't know how to set minimum and maximum fan speeds.

ETA; I dumped Psensor. Decided I don't need it.


I use it to monitor temp.  My last laptop had cooling issues, so could get pretty hot.  I selected the general processor temp, and that displays on the top bar.
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top