> hirensbootcd.org is being developed by the fans of Hiren’s BootCD. https://www.hiren.info/ is the official homepage of Hiren’s BootCD
This is not an official version, but whatever, if it works it's good. I've been using Medicat for these years, and it has served me really well.
Bootable GParted
https://gparted.org/livecd.php
EDIT: you just create a USB bootable of GParted (or CD if you still have that) and then use it to delete the existing partition at that point you could safely boot into your existing OS and format or use GParted to format the drive as well.
i'm still a fan of Parted Magic. I think you can still the last free release on majorgeeks, but its $5 for the current iso.
There are about 100 command line programs that hit a lot of things you'd want for doing things offline to windows. I always figured that and a windows recovery disk would make a good pair. Not sure what anyone else thinks of it, but once I found that I stopped looking.
Are we sure this is legit? The original source for Hirens has always been at: https://www.hiren.info/pages/bootcd and I see no reference to this new version or domain on the authors page.
Because Clonezilla and Gparted both have a small biotsble Live GNU/Linux Distribution to manage partitions, clone, etc.
Clonezilla: https://clonezilla.org/clonezilla-live.php
Gparted: https://gparted.org/livecd.php
Edit: also, FreeNAS is FreeBSD based but the title says "Linux / Unix OS" and GNU/Linux is not Unix; BSD is, so FreeBSD is BSD based, so basically is Unix although is not legally Unix.
It looks like the program 'gnome-disk-utility' also called 'disks' on my Debian installation. It is a program that can be used to format or encrypt disk partitions, or display what disks and partitions exist on the system. As others noted, it may be that this program is set to auto-start after booting. Where or how that happens would depend on what OS/desktop is installed and how it is configured.
Here is link to info about the program (or my best guess as to the program).
Create a Parted Magic LiveUSB key with Unetbootin (the ISO is less than 200 MB, so an old 256 MB flashpen will do just fine). Boot off of that and open the program named GParted. It's really straightforward, I think you'll know what to do. It will probably take a long time, because everything you have on D: has to be moved to the left.
Parted Magic is a Linux distribution, so your partitions are named differently. Your hard drives are named /dev/sda, /dev/sdb, /dev/sdc and so on. Partitions on you hard drives are named /dev/sda1, /dev/sda2 and so on.
If you only have that 500 GB HDD with those 2 partitions, C: should be /dev/sda1 and D: should be /dev/sda2.
Yes there is.
I would recommend using a live USB/CD of GParted to do the job.
There you can resize your partitions (you cannot resize the root partition while you're using the operating system on it).
Make sure to back up your files before doing this!
No operating system is perfect so changing your distro won't save you if and when you get another power outage. Get a Universal Power Supply http://www.amazon.com/APC-BE550G-Back-UPS-Outlet-550VA/dp/B0019804U8/ref=sr_1_1?ie=UTF8&qid=1330088232&sr=8-1 I live in Ireland so you will probably find a better deal in your area.
Try photorec on the Parted Magic distro disc http://partedmagic.com to recovery your files. Parted Magic runs on RAM so won't write over your files on your hard disc drive.
Wear-leveling built into the drive makes multiple pass overwrites not work the way you would expect them to on SSDs. Most drive manufacturers have specialized software that will securely wipe the drive (and generally within minutes instead of the much longer overwrite process).
If you need to do this regularly on a variety of drives, GParted is a good tool that has been able to handle dozens of HDDs and SSDs for me over the years.
Alternatively if you don’t need to reuse the drive, physically destroy it with a shredder. I’ve used commercial services to do it, takes seconds and costs a few bucks a drive.
I'm very confused as to what you actually want.
The reason you need to flash gapps via recovery is that after Android boots, /system is read-only/unmodifiable.
You don't need to do that on a normal Linux desktop, and there's no advantage to doing so, it's just a pain in the ass.
That said, if you do want to modify your system while it's not running, for whatever reason, the other answers are correct. You can set up a minimal linux installation on a tiny partition, and dual-boot into it. Distributions good for this are Tiny Core, Damn Small Linux, and there is even a specialized one based around the gparted partition editor (https://gparted.org/livecd.php).
That's all an Android recovery is, by the way -- a minimal subset of Android for modifying the real one.
Ok, get off of your computer right now. Don't do anything else on it, get a friend with another computer to come over to your house. You may be able to save some of them.
You will need that software and an external hard drive enclosure. Take the hard drive out of your computer, boot their computer with partedmagic and run the harddrive recovery program on it. Your files stay on your computer's harddrive until your computer overwrites them, all that deleting files does is make that area on your hard drive "free" for other things.
You may be able to save some of them.
I'd probably use Parted Magic, but I have 10+ years of Linux under my belt.
I'd probably boot using the live CD, use the included CloneZilla to image the drive first (so I could always roll back to this point), and then start working on the drive.
I'd try to use Gparted to look for faults in the filesystem (either that, or the command line tool fsck
)
I'd download new virus definition for ClamAV, and then delouse the laptop's hard drive with it.
Finally, I'd reformat a memory stick to make sure it was wiped clean of malware, and then download a copy of MS's delousing tool.
I'd then reboot, (with the PC disconnected from the internet so it could not use hooks in the OS to download and reinfect itself) and if I couldn't get the PC to boot in safe mode, I'd use something like UBCD4Win. While in safe mode, I'd run the MS tool to see if it would catch anything that ClamAV missed.
If the PC booted after that (making sure that the internet was still disconnected), I'd declare progress!, boot with Parted Magic again, and image the drive a second time so I could roll back to this point too.
Then connect up the internet and test the deloused laptop out.
Agreed. There are guides on how to hijack Boot Camp to install Linux, but I've always had better luck making the partitions myself with Disk Utility and then installing with rEFIt. That said, rEFIt makes things funky. Be very careful when changing partition tables or installing bootloaders, I've rendered my macbook unbootable a couple times that way. Oh, and if you do screw things up, here's the tool that saved my ass.
My drive has:
Medicat - Mini Win10, a ton of diagnostic software, linux, portable chrome and other programs etc.
And backups of all the software I use, music programs, drivers, bootable usb creator software etc.
/u/vote_up is incorrect, actually this is the exact opposite of what needs to be done to resize. If OP wan'ts to resize his C: to make space for a second OS, then by virtue of being a running operating system, it is impossible to resize without doing it from outside of the OS. Infact, Windows will not allow you to resize the system drive at all. You can not even expand it by default due to having the reserve partition placed at the end of the OS partition.
Resizing filesystems/partitions, I've always booted into linux and used a proper tool
like GParted. GParted has never once let me down, if /u/vote_up has had a negative experience doing as such, i'm afraid this might just be down to user error.
OP: What you want to do is to shrink your OS partition using a live image of ubuntu, or a bootable GParted image installed onto a flash drive via a tool such as Rufus. First thing is to shrink your OS/'C' volume, and this process will likely take a little time. You are then free to boot into the ubuntu installation, create a new partition from the free space, select it for the rootFS, and overwrite your windows boot partition with grub which should automatically add windows as a boot entry. After the installation completes, you will now be able to dualboot both operating systems.
Make sure that you backup your 'C' disk before doing any of the above
If you feel anxious doing the above, then you probably don't have a backup, or a usable backup, and you should not proceed. Instead, consider finding an alternate hard disk/ssd which you do not mind using for linux, and then you can avoid all the partition stuff.
Do you have your VM's living on the same hard disk with the ESXi server?
If yes then you have to get the files for the VM's off somehow. I believe that parted magic can access VMFS. http://partedmagic.com/programs/
You can get parted magic here: http://www.majorgeeks.com/files/details/parted_magic.html
Once you have the files for your VM's the ESXi server can be re-installed. It's kind of a hassle entering all of the settings but it really doesn't take that long if you have everything documented.
Then you can import your VM files and everything should be good to go.
Hahahah, much unluck man. I'm sure most of us have done something similar, but I find it fun to reinstall and reconfigure everything again. Pick a different DE, different default apps, different theme, it's fun. Sucks about your data though, I assume you're looking into stuff like parted magic, a hectic lifesaver OS. Good luck.
Managing partitions in vista is very possible, just use disk management. Check this link
Should be able to repair your partitions from there. When installing ubuntu just set up a custom partition scheme when it brings you to the partition choices area, otherwise it will try and use available free space to install ubuntu to. I find it's easier to use Parted Magic to edit my partitions before an install than to use the built in editor in ubiquity.
Hiren's contains NT Offline which is the password reset tool we've all used for ages, still works pretty great but there's a caveat - It hasn't been updated since 2012.
A good alternative that's mostly up to date would be the MediCat DVD - Yes I know it looks like dork-ass Reddit stuff but it works pretty well. Note that its larger size does require a 16GB USB but I mean, those are like 10 bucks on Amazon if that.
gparted has a live image
IIRC gparted does all the stuff below in the background - feels easier (and safer) than moving partitions and resizing the fs manually
after re-reading your post, I'm not sure what you did…
what you should have done: - delete sda2 - recreate sda2 with 16G - mkswap sda2 - move sda3 16G back - move sda4 16G back - expand sda4 by 16G - resize sda4 filesystem
> I can't re-install normally because that ends up migrating some files from the old installation which is no good.
You don't need Linux for that. Boot to the Windows installer and go through the steps. When you see a screen that looks like this, select your Windows partition and click on Format. This will erase everything. Then you can install.
If you want to manage partitions on Linux without installing it, you should use GParted live CD/USB drive, not Manjaro which is a full OS.
You can use gparted to resize your partitions without losing data but it isn't quick depending on where your free space is and how much data it has to move around to resize things.
This should get the job done.
It's linux based however it's also entirely just a bootable partition manager. Download the gparted iso and use rufus to create a bootable usb. If you have a pc with a 64 bit cpu download the amd64 gparted iso file
delete all partitions, create a single new partition and format it with ext4 Linux filesystem then delete it again.
Problem solved.
> I had a vague attempt to remember the start and end blocks before giving up and reinstalling.
Next time, remember parted's <code>rescue</code> command.
>The first thing i did was plug it into my mac and made a dd image of it (dd if=/dev/disk2 of=/image.iso).
If it makes you feel any better, this statement alone tells me that you've got a much better chance at fixing the problem than 95% of the people who post on /r/techsupport. It was the first thing I was going to suggest.
Since you appear to have some understanding of *nix, I figure this might be useful for you: http://www.gnu.org/software/parted/manual/html_chapter/parted_2.html#SEC24
I have never used rescue on anything before, let alone an HFS+ drive that's been formatted to (presumably) NTFS. I'd guess that if a new partition table has been written, then your chances of simply using rescue to fix it seem pretty unlikely but it is possible that you could write a new partition table that matches the old one and see where that gets you. Worth a shot, better than resorting to piracy and working off of a disk image means you aren't at risk of losing anything anyway.
ATA secure erase. You can do it for free with hdparm. PartedMagic has a easy-to-use GUI for a whole bunch of disk management tasks but the guy that develops it has started charging money for it.
DBAN has you covered, unless you're using an SSD in which case you want to use the inbuilt secure erase using PartedMagic. It's a few bucks, or just torrent the ISO and verify the checksum.
Maybe the programs that are necessary for creating such file systems aren't installed on your system? See https://gparted.org/features.php for information on which programs you need for which file system.
As u/faerbit said I would just use Gparted Live if you want GUI.
It has a text editor, a small webbrowser, a file manager, and obviously Gparted, and the iso is only like 400mb.
nein, man muss die Partitionstabelle und die Dateisystemgrößen anpassen, eigentlich beides recht trivial
Bei gparted ist das afaik alles dabei, gibt's auch als Live-USB https://gparted.org/livecd.php
weiss aber nicht wie das aussieht wenn bitlocker oä. aktiv ist
Since you are a beginner, I would recommend using gparted, from a live usb or CD.
https://gparted.org/livecd.php
The last time I did this, I used the Linux Mint ISO and created a live usb from it, and ran gparted from there.
Partitioning seems daunting at first, and during my first attempt I was told by a friend who I though was somewhat knowledgeable about computers that my computer would never work again if I did that or even if I messed with any settings in BIOS at all. Boy was he wrong! Like I told him later those things are just necessary to work with computers at anything past the simple point-and-click level. Partitioning is really fairly simple and should be understood by anyone who wants to install Linux. Here is the Arch wiki page explaining what you should know:
https://wiki.archlinux.org/index.php/Partitioning
Like many things in the computer world, we are basically faced with complexity, not real difficulty: There are just a lot of pieces to understand. The pieces are all relatively simple, but they must be assembled correctly in your mind to get anything out of them. Do some reading and then come back with specific questions if you need to. Luckily Linux has a wonderful graphical partitioning tool that makes it much easier to visualize the process as you are partitioning: Gparted Live. You should download it and become familiar with using it, you will be glad you did. Once you do it a few times you will wonder what all the fuss was about; it really isn't difficult at all.
https://gparted.org/download.php
Basically there are two different partitioning schemes, BIOS & UEFI. BIOS uses an MBR (Master Boot Record) partition table and UEFI uses a GPT partition table. Partitioning is much more flexible and simple on UEFI that BIOS. There are definite advantages to having separate / and /home partitions when it comes to reinstalling or fixing a broken system. If you are not working on very old computers you can probably basically ignore BIOS as everything made in at all recent years will be UEFI (with the exception of Apple who uses something similar, EFI not UEFI, and is their own unique proprietary headache).
Good luck!
Don't blame Mint, something else is wrong.
Let's start with the USB problem: you can't shrink a partition that is in use, and when you write an ISO to a USB stick it claims all the stick, even if that leaves a lot of space empty. It turns it into one big partition. The error you get points to a diconnecting/reconnecting USB device. The 80b6 identifies the manufacturer and brings up nothing in any database of USB vendor IDs I could find, which is strange.
If I were you I'd grab a regular 8GB USB stick, write the .iso to that with Rufus and try again.
As to the partitioning error: what device are you trying to install to? You can't install to the one you are booting from, and the error seems to indicate that that is what you are trying to do. You boot from a USB stick and then install to the wiped internal hdd.
If you can start the installer, you have probably seen the desktop as well. Boot to the desktop and open a program called gparted, it is the partition manager. There, you can see which drives have which partitions. The guide on how to use it is here See which drives it recognises and what partitions are on those, you can post screenshots to this thread (aka imgur links) so we can see exactly what is going on, and take it from there.
The settings in your UEFI should be: Fast Boot and Safe Boot off, first boot device points to an EFI partition on your main hdd after installation, but to the USB during the installation. If your PC has USB3 ports, try to boot with the USB stick in a USB2 port, that often helps mitigate errors as well.
Feel free to ask for any help, and if necessary just post pictures of every single step you take, imgur is great for that.
cp -a
or rsync
the home dir to the new HDD, just do it while the user isn't logged in.useradd -d /path/to/home
gparted from a live USB, is what I typically use for tasks like this.
there is a gparted-live-usb distribution out that does the job nicely.
https://gparted.org/livecd.php
gparted is included in many live distribution images.
and make backups before you try to resize things. it really sucks if you have a power failure during a resize operation.
Most likely it's because there are sectors in use all the way up to the end of the drive.
You can try defragmenting it, or you can use a partition resizing tool that can automatically move fragments like GParted.
>After DBAN-ing your machine, could you still run TAILS on it (TAILS being loaded onto a USB stick)?
Yes. Tails doesn't give even a single fuck about your hard drive, its contents, or even if it's there at all.
>Does TAILS eliminate information about PAST (DNM-related) activity on your machine when you install it?
No. Also, you shouldn't try to "install" Tails if you can avoid it. Run it off a disc or flash drive, instead.
Use DBAN to eliminate old evidence (3-pass is plenty). Note that if you're using an SSD, DBAN won't cut it - use http://partedmagic.com/secure-erase/ instead.
Anything else, just ask.
I use PartedMagic on a regular basis. It includes Clonezilla, which is a great disk to disk, or disk to image tool. It also has recover software, partition management tools along with a ton of other great utilities. Its all rolled into a nice live linux CD. Is easy to use and free.
For recovery? You might-could spend $5 for the current version of Parted Magic.
>Supported File Systems
You might also try /r/OSX, since that's what you're trying to repair.
This may be useful: GPT fdisk Tutorial. The tools it refers to are all (I believe) included in PartedMagic. (Sadly, Parted Magic is no longer free. But it is worth the $5 fee, IMO. YMMV.)
If you want to make and exact bit-for-bit copy of an install you can try Clonzilla. It's included in a live distro called Parted Magic.
You could have also used dd
, but if you already didn't know that then don't try it with important data. Clonzilla is basically a friendly front end to dd
.
If you want, you can give further special snowflake details. How big is the old disk? How big is the new disk? Want to adjust partition size? Etc.
For example, if you had 1 GiB old disk and a 1.5 GiB new disk in some cases it might make sense to just do a Clonzilla copy of the entire drive and then launch Gparted and maybe resize /home
to make it a bit larger. Clonzilla lets you copy entire disks or individual partitions. If you had 4 partitons, you could copy over /boot
first, shrink it with Gparted, /
second, make it a bit larger, /home
third, keeping it the same size, and then just manualy creating swap as the last partition.
One way to verify that would be to use a Linux LiveCD with NTFS support to see if the Windows partition is intact and readable. Parted Magic is a good place to start.
Your partition tables and/or mbr of that drive may have become corrupted. You could try using a live cd such as parted magic since linux is a bit more forgiving than windows with corrupted partitions. Another possible solution would be trying partition recovery software. http://www.easeus.com/partition-recovery/download.htm http://partedmagic.com/doku.php?id=downloads
Put Parted Magic on one of them. This is the most useful PC rescue device I have ever used.
Use the other four as portable storage, like a normal person.
>Just a few days ago a big Windows update broke my dual boot configuration. GRUB doesn’t appear anymore during boot, instead Windows boots directly. This happens regularly
Is this EFI? I've been running Windows 10 since release and only had it screw with the boot order ONCE the entire time. Linux has its own EFI directory, Windows has its EFI directory and refind has its own EFI directory (I use it instead of grub).
If it is indeed EFI, then I'm not sure what you've got wrong in your setup. I've used several different computers since release and haven't had that happen on any of them. But, you're also using the hard way out. You can easily switch EFI boot order by issuing some commands in terminal or even using the free Disk Genius to do it graphically
I googled your error message and this was the top response.
It sounds like your new motherboard is setup to boot differently than your older one. You'll want to change your boot settings from legacy to UEFI.
Alternately, you can use recovery console and diskpart to convert your disk.
DiskGenius (formerly PartitionGuru) can resize exFAT partitions without any data loss (assuming your partitions are healthy of course). I'd run another CHKDSK on it first and then use DiskGenius to resize.
There are DOS drivers for USB controllers, i.e. DUSE. AFAIK they're only used currently to enable USB storage devices to be mounted under DOS, but if you can communicate with the bus, it should be possible to write a driver that maps an emulated gameport to a USB device. I just don't think anyone's done so as yet.
Reinstalling Windows at this point would be best for starters. Your going to need to create windows installation media, by following this guide https://mspoweruser.com/how-to-create-a-bootable-usb-drive-for-windows-10/ Bear in mind all your files will be wiped off the drive.If you need to recover the product key your going to need a separate usb drive to turn into Hirens bootable drive using this guide. https://www.hiren.info/pages/bootcd-on-usb-disk Once you boot into Hirens your looking for Produkey/windows key viewer. Finally to save any files while your booted into Hirens, use a separate third blank usb key and move all the files you want onto it.
Probably your best option at this point would be a complete reinstall anyway, since your trying to reset to factory. Heres a guide Your going to need to create windows installation media, by following this guide https://mspoweruser.com/how-to-create-a-bootable-usb-drive-for-windows-10/ Bear in mind all your files will be wiped off the drive.If you need to recover the product key your going to need a separate usb drive to turn into Hirens bootable drive using this guide. https://www.hiren.info/pages/bootcd-on-usb-disk Once you boot into Hirens your looking for Produkey/windows key viewer. Finally to save any files while your booted into Hirens, use a separate third blank usb key and move all the files you want onto it.
einstalling Windows at this point would be best. Your going to need to create windows installation media, by following this guide https://mspoweruser.com/how-to-create-a-bootable-usb-drive-for-windows-10/ Bear in mind all your files will be wiped off the drive.If you need to recover the product key your going to need a separate usb drive to turn into Hirens bootable drive using this guide. https://www.hiren.info/pages/bootcd-on-usb-disk Once you boot into Hirens your looking for Produkey/windows key viewer.
Have to +1 this. Medicat has saved my butt many times. It's fairly easy to use and yes, it has a large footprint, but the software suite is worth it.
Here is the folder with all the ISOs, changelogs and tools of the matter.
The official thread is here.
My vote also goes for gParted. I've use it many times and never had any problems with it.
But, you might want to defrag your drive before doing the resize, op.
Here is the link to its website: https://gparted.org/
You have a bad boot drive, and it will scroll forever.
I suggest using Gparted to see what you've go, it's the best for this. https://gparted.org/download.php Burn it to a CD, go into your Bios (hit the Del key) have it boot from the CD.
After it loads, run Gparted - it's an easy program to learn.
many live usbs include gparted. There is a 'gparted' live usb which is a minimal live setup just to run gparted. https://gparted.org/liveusb.php
But most distribution live usbs come with gparted.
boot the live usb, run gparted. Modify the partitions, reboot back into the installed system.
make proper backups before you modify partitions
a power failure or crash during a resize operation can lead to data loss.
Yes, just copy/paste. Make sure the SD card is formatted to FAT32 first. gparted is a good partition manager, free, works on all operating systems (win/Mac/Linux), and doesn’t have limits like the one included in Windows. A 64-256Gb SD should be good enough, and use WiiFlow (USB Loader GX isn’t compatible with Wii WBFS/games on SD cards).
Low effort post, try searching this Reddit, it’s been answered a few times.
I have a 256Gb SD. The Wii supports SDXC up to 2Tb. Just use a good partition utility like gparted. And stay away from USB Sticks/Flash drives
You partition with Live Linux version. Can't partition the current drive your currently using.
I always used Gparted Live. But you can simply use your Linux Mint Live if you still have it. And use Gparted that way. or any other partition tool you choose to use.
https://gparted.org/livecd.php
Maybe you can now. But I always used a Linux Live version to created, delete, move, etc. when I partition my drive(s).
Have you tried using "Method B" from the GNU/Linux section of the official documentation?
https://gparted.org/liveusb.php
If you dd
ed the iso file to a partition (e.g. /dev/sdd1
), this won't work as they have to be written to the device directly (e.g. /dev/sdd
).
If you decide to take that route, you could try "Method D" from the guide above.
Disclaimer: I haven't actually tried it, nor have I been using Linux for a long time (~2 years).
​
With default GNOME Disks or GParted, I think you could login from a Live Ubuntu session (boot from USB) and use the resize/move function to move each partition to the start, essentially moving the unallocated space to the end.
It seems to be possible according to Ubuntu's Community Help Wiki and GParted's Manual, but there are warnings on both pages saying that you might damage or corrupt your data, specially a partition that has your OS.
No, I ran gparted the first time without reading the manual. Later I read the manual just to learn all that gparted does.
You can run your Pop! live and run gparted that way. Me I always had this one which is just gparted running live. When I need to partition anything.
https://gparted.org/livecd.php
Just know which is Linux patititon and which is your D drive/partition. Since they are label differently by Linux. Which I know you won't see it label as D drive but something like this. sda2 or sdb or something similar.
From what you described I don't see how the drive could have been formatted or anything. If I were to make a guess I'd say you might have switched the sata ports the drive is plugged into and that's confused windows.
I would create a live GParted flash drive (a small bootable gui tool to manage disks) and boot into that to get a better idea of what's going on in terms of what drives are plugged in, how they're formatted and if they contain anything. I've always had more luck with linux-based tools rather than stuff within windows itself for this kind of thing. I suspect you might find your full 1tb partition hiding somewhere.
Otherwise if gparted indicates the drive has been formatted, disconnect the drive to prevent any further changes (anything written to it from then on may well overwrite the residual data) and take it to a professional, as some of the other commenters have mentioned.
Boot from this and look for partitions. https://gparted.org/livecd.php
Are the disks being flagged as non-local/remote. There was a old bug where hitachi drives would flag as a HDS storage array in the PSP.
Throw https://gparted.org/ on a USB stick, boot from it and resize your partitions with it. It is able to deal with the exact problem you're having by relocating data to other blocks, and then shrinking the Windows filesystem and partition.
Here are the steps I would take to diagnose your issue:
Try GParted: https://gparted.org/download.php Then use Rufus to put the ISO on to a USB pen drive, and boot into that from your BIOS.
It's 100% free (unlike what the other guy suggested) and is incredibly useful. Should do the trick. Or if you still have your Ubuntu install media, you load Gparted from that.
you do understand C: drive is just a letter assignment , could also be assigned to the xp live boot environment you used or a ram disk it made .. etc etc
C: means absolutely nothing
use https://gparted.org/ next time if you must partition and format outside windows installer
GParted Live. https://gparted.org/livecd.php
This is a bootable disk manager, so it shouldn't complain at all about the disk being in use. However, messing with your C drive may render the OS unbootable. Just a warning.
As long as all the existing data can fit onto the 120GB SSD, you can use GParted to resize the existing HDD's partition to 120GB or less and then copy that partition to the SSD.
That is an OEM partition and I think this update just made it visible in explorer. You can unmount it with the "remove letter" command in diskpart, but please if you don't know what you are doing read a guide first.
The 25GB of space you lost are the old windows installation, so you are able to revert the update if you run into problems. If there are no problems you can do a disk cleanup.
Edit: If the partition bothers you or you need the 450MB of space, you can remove it with GParted. I don't recommend this though.
First, turn off your laptop. Boot on some live disc (like GParted Live) and check the status of your partitions. Do you remember which partitions you formatted?
> i will try to recover files with getdataback but I suspect only the deleted files would not be infected...
From the disk? if it's truly ransomware and done correctly your not getting anything back, the whole disk including the whole filesystem will be encrypted. before you format though use a linux distribution usb and use one of the antivirus tools to see if it can be deleted. there are a lot of fake lazy ransomware viruses that go off on the ransomware popularity and just put up a splash screen with no encryption. I've deleted one or two of these on a friends computer. it looks real from the name,but it could be a fake. https://support.kaspersky.com/viruses/rescuedisk
if you have nothing important on there I would just nuke the drive. To be extra careful I would use a linux formatting tool to do the wipe. There could be the possibility of the windows installer reading the MBR and triggering the virus again. I haven't heard of this happening, but I imagine somebody will do it one day. https://gparted.org/
Assuming you've already maxed out your hdd between Linux and Windows, you'll have to repartition the drive a bit -- first shrinking the Windows one down a bit to free up some space, then resizing the Linux one to take advantage of the new space. You can do this with gparted. Basically, you burn it to a disc or whatever and boot it like a live CD.
Obviously, you'll want to make sure you have enough 'free space' on your Windows partition before you do this, otherwise you'll mess stuff up. You'll also want to make damn sure you've backed up everything that's important, on both your Linux and Windows partitions; I haven't personally ever had anything go wrong when doing this type of thing, but you don't want to be left without options if it does.
Alternately, if you just need more space for downloads, etc., you can mount the Windows partition from inside Linux and just save stuff to it. Maybe not the best way to do it but it'd work.
According to https://gparted.org/
>GParted can be used on x86 and x86-64 based computers running Linux, Windows, or Mac OS X by booting from media containing GParted Live.
Yes, runs on Linux only, but they provide bootable self contained media that you can run on anything.
No. It creates a sparse bundle for all your backup stuff.
But your issue here will be that (I've just read) Time Machine can't work on a FAT-formatted drive. You'd have to repartition so that there's a HFS partition for Time Machine. GNU Parted is pretty good for this: http://www.gnu.org/software/parted
Fair enough (like I mentioned, I am open to either way ;-)
I was in a similar tough spot in the past (our VMware team changed their template to a 20G vmdk from our standard 50G and we did not catch it right away. So, we had to fix all of them after the fact.
Unfortunately I don't have time/cycles at the moment to test this out... but, take a look at
blockdev --rereadpt
parted - resize partition
I believe there are 2 methods to consider:
* grow the VMDK and add another partition at the end of the disk
* grow the VMDK and resize partition 1 to utilize the new space
Either way - I would definitely test a few reboots, possibly some other lvm-type activity, post-grow.
This feels like it is a task that should be doable - I'll try to build a VM this evening and see what I can break ;-)
EDIT: I totally missed one very important fact.. you're not wanting to mess with the OS disk. (correct me if I am wrong).
If that is the case:
* add a second disk (with enough space to accommodate your anticipated volume sizes)
* extend the VG
* pvmove everything to the second disk
* vgreduce the old disk out of the VG
* remove the disk
there is a bunch of stuff to fill in the blanks between those bullet-points, but I think you get the idea. I assume the goal is to have a VM which has only 2 x VMDK attached, and that method will achieve that, and without a reboot.
It won’t boot because the Linux kernel can’t read exfat formatted drives by default. You have to have either an ext4 formatted partition, OR you need built in support for exfat for it to work.
It’s easier to just make an ext4 partition.
you may have to use a Linux distro- such as parted magic (http://partedmagic.com) - to split the usb drive in to 2 partitions.
Make one ext4, and the other exfat.
Install the Linux distro of your choice to the ext4 partition. Make sure you install exfat-tools after you are finished setting up your Linux installation
Leave the exfat partition for portable storage.
ONLY the exfat partition will be recognized in Windows and Mac OS X.
Dude. You really shouldn't have talked to them at all.
To wipe an HDD, use DBAN. To wipe an SSD, use Parted Magic (be sure to use the SSD-specific wiping feature) .
Why would they know about any bitcoins you bought? Just write down your 12-word Electrum seed(s) for the wallet(s) that hold(s) all your coins on paper and stash the paper somewhere (which you should have already done anyway, regardless). And if you're that worried about it being suspicious that your computer is wiped, then don't wipe it - just delete everything that pertains to this stuff (Tor Browser, any bitcoin software, GPG, etc.), use CCleaner to get the other traces (if using Windows), and then use Parted Magic to wipe the free space on the drive. Obviously this carries some risks of not actually getting rid of everything, but it's likely to be good enough.
Normally I'd say get a lawyer, but for 1g of cannabis it may not be worth it. You might just have to suck it up and deal with the consequences, which probably could have been avoided if you just didn't do their job for them by talking. But that's all in the past, now. Best of luck to you, and stay safe in the future.
>All the benchmarking tools you would ever need! Bonnie++, IOzone, Hard Info, System Stability Tester, mprime, and stress.
Costs $9. Easily worth that, IMO.
For servers that DBAN won't detect storage devices on, I've had good luck with nwipe (a fork of DBAN that runs on regular linux) running in Parted Magic which is also on the Ultimate Boot CD.
You could use something like parted magic to boot up with both drives connected. Then you'll have to do some re-sizing to make room and clone your boot partition from the secondary drive over to your main drive. I'd still recommend backing up anything important on your main drive, just in case you happen to goof up and need to re-install.
By just using an SSD it would not make a evidence from a system inadmissible in court. If you have an intact image of a machine there are still plenty of other points of evidence that would allow someone to be convicted of various cyber crimes.
Now if you had a single SSD drive system that had evidence on it, and you secure deleted the SSD by using either the secure delete tool that came with it or by using a livecd linux distro that had hdparm PartedMagic, then you would destroy most of the evidence on that machine. That does not mean that a cyber crime can't be determined by using other live memory, files, network logs, pcaps, or service history that can be extracted from another machine.
I have successfully found incriminating evidence on SSD's, the only thing that would be a potential issue is if I needed to carve deleted files out of unallocated space. But I would still have system memory, MFT's, system restore, and shadow copies etc to work with (in the case of windows hosts). Even then I'd could resort to more exotic methods of data extraction using tools such as these. By using an SSD it does not make evidence on a system impossible to find or any less relevant as evidence.
I hope this clears things up a bit.
I use PartedMagic to do hard drive testing and other functions. I typically use the GSmartControl program to check the S.M.A.R.T. status and run built-in tests (short and long) on hard drives.
If it says unallocated space then there is no partition on it. Try creating a new partition in setup and then choosing that to install Windows 7 to. You might even try rebooting after creating the partition but it shouldn't be necessary.
Your new system almost certainly supports UEFI so maybe [try this].(http://www.techpowerup.com/forums/showthread.php?t=167245):
If none of that works, try burning a CD of Parted Magic and use that to delete any existing partitions and create a new NTFS volume.
Tried moving the partition up 5.91 GiB?
There are tools(if gparted cant do it) that can move partitions around.
The way I would do it is like this. Move partition, reboot into windows. Check Disk for errors. Boot into the tool again. Extend ntfs, reboot into windows. Check Disk for errors. Done.
It's a couple of days late, but Parted Magic is what we tend to use at work. It's included on most versions of Hiren's Boot CD.
It's quick and simple, and includes pretty much just the basics you need for dealing with a minor problem on a hard drive, or testing one that may be bad.
>I need to create a new partion.
The Ubuntu installer will do the re-partitioning, I believe, but if you want to do it seperately, I recommend Parted Magic.
At a minimum, you need two new partitions. One for Ubuntu, one for swap. You probably want an 8 GB swap partition. (It doesn't matter how much RAM you have, you should always have a swap partition.)
Though, on the whole I don't recommend dual-booting, for a number of reasons. One, re-booting a computer is a time-consuming PITA. You ain't going to do it unless you really need to, so you'll inevitably end up just doing everything in one OS. Two, since you probably are already comfortable with Windows, and since Windows is well supported, you will end up using Windows all the time. Three, on the rare occasion you do boot to Ubuntu, as soon as something doesn't work easily and you get frustrated, you'll just reboot into Windows.
The only way to really use any *nix distro is to commit to using it. Get the Windows re-install DVD (and the Lenovo CD) just in case you change your mind later, then wipe the hard drive.
Install some distro and go to town. You will have problems. You will scream in frustrated rages, and curse my name. But eventually you will find the distro that's right for you and your hardware, you'll get it tweaked just right, and when people ask if you use Windows or Mac, you'll just smirk and say, "No."
EDIT: Do you have 6 GB of RAM, or 16? With 16, you probably want an 18 GB swap.
OK OK IT Tech here Go here: http://partedmagic.com/doku.php?id=downloads download and burn this onto a cd. you can use xboot: https://sites.google.com/site/shamurxboot/ to create a bootable usb drive if you like. boot off this cd or usb by selecting it on the bios screen (usual hit F12 or similar) once booted you will see on the desktop an icon saying "disk health" double click it double click your drive open up the self tests tab and run a short test. if it fails your hard drive is buggered. replace it! --yoma
Your plan sounds good.
1 - Doubtful. You could lose all the data on your drive, but windows should install fine on a blank hard-drive.
2 - Yes, you should be able to restore the Linux backup. No guarantees it won't cause the same problem again. Rather than restoring a backup of the partition I'd recommend reinstalling Linux, and then bringing over your home folder / whatever else you backed up.
3 - A live CD for most Linux distros will do, as should (I think) booting off the Windows install cd. If you need a suggestion for this I'd go for Parted-Magic
4 - Sorry, not so much. Getting Windows to live peacefully with Linux is certainly possible, but not easy.
Good luck sir.
Boot from a LiveCD such as Parted Magic
Make a partition image (see: partimage) of the "/" and the Windows partition on the external drive
Delete the SWAP primary partition
Shrink the NTFS primary partition
Resize/move the extended partition
Create logical /home partition inside the extended partition
Create EXT4 filesystem in /home partition (include the option "-L HomePart" for mkfs.ext4)
Create logical SWAP partition inside the extended partition
Mount the /home partition and the "/" partition
Move everything in the /home directory structure to the /home partition
Edit /etc/fstab to mount the /home partition to the /home directory (if you included the "-L" option with mkfs.ext4, you can identify the partition in /etc/fstab as "LABEL=HomePart")
Oh, and I think that will all work. But I'm just some doofus on the internet, after all.
EDIT:
Try booting into a thumb drive linux diagnostic/utility distro like parted magic and see if the problem persists. The fact that your GPU is also running so hot at idle makes me think you may be infected with bitcoin mining malware, although I don't know if it's possible for those to hide cpu/gpu usage.
Burn yourself a Parted Magic LiveCD. Boot with that and use Gparted to manipulate the partitions. (Gparted is a GUI partitioning tool.)
But you'll need to figure out what's what with GRUB first.
When the drive is connected, is it seen in the bios, is it seen in Windows under disk management?
If it's seen in disk management try Recuva. http://www.piriform.com/recuva
If it's not seen inside Windows, try TestDisk within Parted Magic. http://partedmagic.com
[](/solution)Parted magic is an excellent tool, and can me run from either a USB thumb-drive or a CD.
If you'd like to use it with a USB Thumb-Drive, I recommend this tool. You can actually download Parted Magic directly from this application to be put on the thumb-drive, if I remember correctly.
Simply reboot into the thumb-drive with Parted Magic installed, and it should be pretty self explanatory from that point.
I have had something similar happen to me, I had to use Parted Magic to re partition the drive. If you are unfamiliar with Parted Magic its a ISO that you can download, burn to a CD and then run as a LIVE CD. It can be a useful tool to have.
Question - Do you have anything stored on D:\ at all?
If not (even if you do, you could backup the stuff), you should be able to delete that partition with GParted, and then extend your C:\ partition to fill that empty space. This will only work if your C:\ partition is first on the disk, not second (which is how it probably is, I have no idea how it would be any other way). Of course you want to backup everything before attempting this since you never know what might happen. You will want to be careful to not move your C:\ partition at all, as this may cause Windows to fail to boot.
Download and burn a copy of Parted Magic: http://partedmagic.com/doku.php?id=downloads
It includes GParted among other tools, and runs from a CD.
If something goes terribly wrong and you need to reinstall Windows 7: You should be able to use a Windows 7 Retail DVD, so as long as it is the same edition as what you had installed. So, if you have 7 Home Premium 64-Bit, you need a 7 Home Premium 64-Bit DVD. On the bottom of your laptop, or possibly under the battery inside of the battery compartment, is a Windows 7 license sticker with the edition type and an OEM product key. This is the key you enter when prompted by the installer.
I've successfully used a retail 7 DVD along with the OEM key on Toshiba laptops, it just requires activation over phone once Windows is installed. Someone else might be able to help you more here if an issue like this arises.