when in doubt reboot with all devices unplugged. "ls /dev/sd*" - SDA is usually filesystem, so SDB would be first usb disk, SDC would be second device, etc. To determine which device is which, use these commands: The command is "dd if=/dev/sdb of=/dev/sdc bs=512 count=1" when you are certain SDB is a valid disk and SDC is faulty. You can then use the valid disk to copy the boot sector. If you have a valid disk backup all data to it from the faulty disk. NOTE: Copying boot sector also copies disk size - only reliable way is to let Windows CD partition for you.Īttempt to connect the USB drives to VirtualBox. The only way to use XP is with Ubuntu USB running VirtualBox. XP Home is programmed to deny installation to USB while Microsoft publishes a USB version to well-qualified customers. If you boot off USB you need to find out how to make the drive visible inside VirtualBox. If Windows is installed to internal disk then it will defrag itself. The internal disk cannot be mounted if you want to change it. Windows would not recognize my NTFS/FAT32 drive from Linux.ĭefragging the internal static file system or fstab is beyond the scope of this article, but requires that you boot Ubuntu with VirtualBox and XP directly off USB disk. I enabled USB support from the article here. I formatted it with gparted, cfdisk and mkdosfs. I use Ubuntu Studio as my host and VirtualBox standard edition to run Windows XP. NOTE: You cannot defragment Linux/EXT filesystems with Windows software. This will extend your OS to include the ext2 and ext3 file system. If you only use Windows on your internal HDD try this link: If it is, is there any way I can fix it without reformatting? If a reformat is necessary, can I use a disk cloning program to back up and them restore the files on the partition?Īlso, the partition is about 80 GB, so is it possible that I just haven't waited long enough? I think this might be a consequence of me not defragmenting the partition prior to resizing it. I had resized the partition using GParted earlier, but did not defragment it prior to resizing mainly both because I found out that this was recommended after I had resized the partition and because I resized the partition just after setting up the computer for the first time on Windows XP and I assumed that the drive was defragmented by the OEM before shipment. When I try, it sticks at 1%, even after an hour of waiting. I can't seem to be ale to defragment my NTFS partition with Windows Disk Defragmenter.
0 Comments
Leave a Reply. |