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. |
|
|
[#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. |
|
|
[#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? |
|
|
[#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.
|
|
|
[#4]
Just be careful. Your boot disk in GParted looks an awful lot like your main drive. Chose which partition to blow away carefully.
|
|
Death to quislings.
|
[#5]
I use an Ubuntu LiveCD or use Unetbootin to put an .iso on a USB stick.
|
|
|
[#6]
|
|
This is...a clue - Pat_Rogers
I'm not adequately aluminumized for this thread. - gonzo_beyondo CO, MI, SC, OR - Please lobby your legislators to end discrimination against non-resident CCW permit holders |
[#7]
|
|
|
[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 |
|
|
[#9]
|
|
Sic Semper Oppai
|
[#10]
|
|
This is...a clue - Pat_Rogers
I'm not adequately aluminumized for this thread. - gonzo_beyondo CO, MI, SC, OR - Please lobby your legislators to end discrimination against non-resident CCW permit holders |
[#11]
|
|
|
[#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. |
|
|
[#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. |
|
|
[#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.
|
|
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I am responsible for everything I do.
|
[Last Edit: AR-10]
[#15]
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. |
|
|
[Last Edit: Gamma762]
[#16]
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. |
|
This is...a clue - Pat_Rogers
I'm not adequately aluminumized for this thread. - gonzo_beyondo CO, MI, SC, OR - Please lobby your legislators to end discrimination against non-resident CCW permit holders |
[#17]
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. |
|
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I am responsible for everything I do.
|
[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. |
|
|
[#19]
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". |
|
A tough man can take a bullet, but a wise man can dodge one. Stay focused my brothers.
|
[Last Edit: packingXDs]
[#20]
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. |
|
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I am responsible for everything I do.
|
[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. |
|
|
[#22]
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 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. |
|
But he sure found out the hard way
That dreams don't always come true |
[#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.
|
|
|
[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/ |
|
This is...a clue - Pat_Rogers
I'm not adequately aluminumized for this thread. - gonzo_beyondo CO, MI, SC, OR - Please lobby your legislators to end discrimination against non-resident CCW permit holders |
[#25]
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. |
|
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I am responsible for everything I do.
|
[#26]
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 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. |
|
Death to quislings.
|
[#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! |
|
|
[#28]
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. |
|
Death to quislings.
|
[#29]
|
|
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I am responsible for everything I do.
|
[Last Edit: AR-10]
[#30]
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. |
|
|
[#31]
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 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. |
|
Death to quislings.
|
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.
AR15.COM is the world's largest firearm community and is a gathering place for firearm enthusiasts of all types.
From hunters and military members, to competition shooters and general firearm enthusiasts, we welcome anyone who values and respects the way of the firearm.
Subscribe to our monthly Newsletter to receive firearm news, product discounts from your favorite Industry Partners, and more.
Copyright © 1996-2024 AR15.COM LLC. All Rights Reserved.
Any use of this content without express written consent is prohibited.
AR15.Com reserves the right to overwrite or replace any affiliate, commercial, or monetizable links, posted by users, with our own.