Products > Computers

Repartition Hard Drive with Dual OS and Not Losing Data

<< < (14/17) > >>

magic:

--- Quote from: bostonman on June 19, 2023, 02:40:16 am ---Disk Genius
--- End quote ---
??? ::)

Run fsck on the filesystem under Linux.

bostonman:

--- Quote ---Run fsck on the filesystem under Linux.
--- End quote ---


That doesn't work. It tells me something like it's already mounted on /dev/sdx or something like that.

It also gives a warning that data will be lost. Either way, I'm guessing it won't run because I'm running it on the same drive Ubuntu is on.

SiliconWizard:
To repair/repartition/resize filesystems on Linux (at least conventional filesystems like ext4), you need to work on unmounted partitions.
If you want to work on the partition which is your root partition and you have no other partition to boot from, you'll need to boot from a "live" Linux, just install one on some USB key, boot from there and you'll be able to do whatever you want to your partitions.

RAPo:
It's difficult to help you at a distance.

First, do you have a backup of the disk and partitions?

Do you have a spare disk? If so, restore (for each partition in sequence) them to the spare disk and check for errors on the new disk.
If no errors arise, hurray: format the original disk, restore each partition, and try to expand as you've described.

If you get  errors: sorry I can't help you from this distance.

magic:

--- Quote from: bostonman on June 20, 2023, 12:58:31 am ---
--- Quote ---Run fsck on the filesystem under Linux.
--- End quote ---
That doesn't work. It tells me something like it's already mounted on /dev/sdx or something like that.

It also gives a warning that data will be lost. Either way, I'm guessing it won't run because I'm running it on the same drive Ubuntu is on.

--- End quote ---
Wait, are you also trying to run gparted the same way? Not gonna work either.

Of course, gparted run from a live CD should work, if you expand sda4 before trying anything with sda5.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod