Ubuntu :: Safe To Delete System Reserved Partition?
Nov 8, 2010
i'm running out of partitions, i was thinking if i could get rid of the windows system reserved partition without messing any of my windows 7 OS & the recovering partition. I'm currently using grub2 to boot ubuntu & win 7.
i have a 700GB ext4 partition for storage purposes. By default it has 5% of the space (35GB!) reserved for root, which does not make sense for this partition. how can i reduce this percentage? there is already a lot of data on the partition and i'm afraid that mke2fs would erase all the data. is there a way to change the percentage without touching the data?
I'm running Win 7 and installed pcLinux as a dual boot. I uninstalled linux to change disks but the partition still shows in the windows disk manager taking up space I need for windows programs. I have installed linux on another disk but cannot delete the partition on the windows disk.
I formatted an old pen drive and noticed that when I deleted files, the free space was not going down. Then I hit Ctrl+h and saw a folder named .Trash-1000. Is this only needed if someone if using Windows or can it be safely deleted?
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
Using gparted as shown on the partitions in the image:
sda1 is Windows 7 sda2 is swap sda3 is root sda4 is home
I'd like to move sda4 to the end of the drive, thus shrinking it by 20GB, and shunt every other partition along to make an extra 20GB for sda1 at the start of the drive, and expand this partition into the 20GB of space I created.
When I start moving and shrinking sda4 (before I apply and execute the command) I get a warning saying that it is very dangerous to move a boot partition and it could render my system unbootable etc etc.
How safe is it to do this? If I bork it, can I recover easily?
I assume the error has something to do with start/end disk sectors in the grub2 list (however this works these days). In short, messages like this do what they should and scare me just enough to seek assistance from this wonderful online community!
Is it safe to resize a partition which is marked as a boot partition?Is it just a flag i can ignore?I have ubuntu in an extended partition, the previous partition I've formatted and want to shrink/then move+resize the extended partition to give ubuntu more space. I was about to resize+move from the gparted usb, when it warned moving a boot partition can cause your system not to start....I've already created 97gb unallocated space (probably too much) and sda3 is flagged as boot even though it's a formatted empty partition. If I'm trying to move/expand sda4 is the warning because of the boot partition on sda4, the facts sda3 is flagged as boot or because the grub stage 2 file is being moved?
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
What will be an easy and safe way to resize partition? Boot up the LiveCD? Or can I run resize2fs while OS is running?This is a newly installed box without files on /kvm. Now I want to resize /home taking up the complete capacity of /kvm which will be removed/deleted.
My new Debian box is running well and stable enough for me to decide to swipe out WindowsXP altogether. I have a 40GB HDD, which has the following partition scheme (after Windows was removed and hda1 was converted to Linux native type)
Code: Device Boot Start End Blocks Id System /dev/hda1 * 1 1762 13313159+ 83 Linux /dev/hda2 1762 5168 25756889 f W95 Ext'd (LBA) /dev/hda5 1762 3985 16813408+ b W95 FAT32 /dev/hda6 * 3986 5018 7809448+ 83 Linux /dev/hda7 5019 5168 1133968+ 82 Linux swap / Solaris
As you can see, my Linux is in the 2nd logical partition hda6 which contained in the extended hda2. The 1st logical partion hda5 is the one I want to erase the data and convert to Linux filesystem in order to have more space. (Yes I can mount it ntfs-3g and use it without any problem, but I just want to say farewell to as many things Microsoft as possible) . What I'm worried about is whether it's safe to do that, without damaging the extented partition which contains the root file system for Debian.
Long story short, my Windows had a fatal crash the other day and since I couldn't find the installation disk, I burned the Ubuntu 9.10 disk image to a CD at a friend's place and installed it on one partition of the hard drive. The other partition contained tons of Windows programs and documents in an NTFS system. Ubuntu is cool and all, but when I finally found the Windows disk, I wanted to reinstall it for dual-booting, to use some programs that don't run well in Wine.
To keep some documents safe and not waste any CDs, I moved them over to the Ubuntu partition before installing Windows. As experienced ubuntuists know, the slightly clumsy Windows installer erases GRUB in the process, and it's recommended to install Windows first. So, now I ended up with a working Windows partition and an Ubuntu partition with all of the stored data, which I can access via guest status with the burned CD.
Here's the catch though - as a guest and without Linux properly installed I can't move anything I moved to the Linux partition from the Windows partition back anymore. All the folders have a little X on their top corner. I'd be glad to reinstall Ubuntu now, but I must know how to keep all that tranferred data safe. Can I keep it there during the reinstallation? Should I install Wubi on Windows and access the stuff through it?
My Windows XP Pro laptop has been attacked! Windows will no longer update and Microsoft Security Essentials will not update either. I've been trying to resolve the issue for over two weeks with Microsoft support, but it's just taking too long. I also tried some rescue CD options (all running some form of Linux, obviously):
- BitDefender Rescue CD (removed infections, now detects nothing), - Kaspersky Rescue CD 10 (removed infections, now detects nothing), - Trinity Rescue CD (won't load AV Engine, so can't use it to do anything).
Malwarebytes cleaned a bunch of stuff, but will not clean the final threat detected (it's supposed to get deleted on reboot, but never does). Hijack.FolderOptions is stuck in the accursed registry, and it keeps causing Windows Explorer to crash. I cannot rename files or work with them or everything just crashes.
So I'm ready to reinstall XP from scratch, and add a dual boot with Xubuntu & LXDE, which I'm already running on a much older laptop.
Question: I want to rescue the files I need. My idea was:
1) Install Xubuntu with dual boot. 2) Copy over files from Windows XP partition using Xubuntu. 3) Back up files to an external drive using Xubuntu. 4) Reinstall XP Pro and format hard drive. 5) Reinstall Xubuntu with dual boot. 6) Use Xubuntu for daily use. 7) Only use XP for those tasks that require it (TomTom updates ...)
Should I be concerned about the security risk from copying files from the Windows partition to the Xubuntu partition, and from there onto an external hard drive?
Is this the way to do it, or is there a better way? I just want my laptop back in working order. Right now I can't use it for anything.
I have two ext3 lv's of 4GB and 10GB in my hda8 partition, and they are automounted by /dev/mapper/ in my /etc/mtab files in each of the four distros (Suse9.3, OpenSuse10.2, kubuntu7.04 and Debian Lenny 5.0.3). Since ext3 is a journalled fs I feel I ought to fsck their integrity every 3 months or so, however I don't know
a) whether they must be unmounted before running fsck, b) whether I should use a live CD such as knoppix to run the fsck command, and c) whether I can and/or should run fsck /dev/hda8, or whether I should somehow fsck each lv seperately?
So the first 10Gb of a 450GB NTFS partition have just accidently been written over with an Ext4 filesystem that spans the entire partition instead. all foolishness asside, what can be repaired. Now I know Ext4 likes to jot bits of meta-data down (inodes blocks) along the way, and this can be about 5% of drive capacity, that said, there's alot of small text files and stuff, coe files so forth that can surely be recovered
I've looked into magicrescue and testdisk, but they fall into the only two groups to exist: 1) Filesystem independent, that is search almost like a patern - well exactly like a pattern match, to find the header and footer of files. 2) Filesystem recovery tools, like, damaged bootsector, so forth
I need one, that will be able to extract files, Iunderstand this will be a hard task, but.... text files; surely that'll be easy, anyway. This is my backup drive, they''re both WD you see, anyway. This is important, given the coding is ASCII surely.
I've initialize a virtual disk and deleted the partition table didn't notice that i've done that to the wrong one, data still on the physical hard disks but....how I'll get my data back safe without losing it?
is it safe to change fstab UUID entry for the system to /dev/sdb4? and after editing fstab, is there a script or command I need to run to release lock or update mount information? edit: I see not correct, and therefore not safe,but is there a format to tell linux to use /dev/sda1 instead of UUID= or label= .
A little while ago i bought a magazine with the openSUSE 11.1 distro on it but couldn't install it so i gave up. I am attempting to have another go. The problem is that the os will work fine when booted from CD in fail safe mode and can be installed from there but when out of fail safe mode the system begins to boot but freezes and will do nothing more.
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
def saveListData( list ) fd = shelve.open('file_name', 'c') for itemVo in list: fd[itemVo.key] = itemVo fd.close() os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after