Debian :: Is It Safe To Grow Root Partition?

Jan 26, 2010

i want to ask is it safe to ad more space to my root partition with gparted ?I ask friends and they all told me if i change the root partition is possible to have problems to start my Debian.

View 5 Replies


ADVERTISEMENT

Debian :: What Will Be Easy And Safe Way To Resize Partition?

Oct 1, 2010

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.

View 7 Replies View Related

Ubuntu Installation :: Gparted Fails To Grow Partition

Jul 12, 2010

I have a machine running Ubuntu Server 9.10 installed on an 80GB RAID1 disk. The system has two arrays (one data, the other backup), each of the same size in RAID6 with ext4 fs, connected to separate 3ware 9690 controller cards. I had to increase the size of the arrays from 8TB to 12TB. No problems - added the drives, migrated the new disks into the array, rebooted the server, and everything is visible. I unmounted the drives and then attempted to grow the partition (it's a single partition), starting with the backup array, using gparted. It sees the unallocated space but when I try to grow the partition into the unallocated space it fails. Here's the gparted error details:

[Code]...

View 2 Replies View Related

Ubuntu Installation :: Grow Boot Sector. Delete Swap Partition. Can't Boot Afterwards.

Mar 7, 2010

I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.

best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.

View 1 Replies View Related

Server :: Reduce RAID5 Partition Sizes / Reduce The Size Of Md1 And Grow Md0?

Feb 14, 2010

I have a rack of four 1TB drives all partitioned identically with three primary partitions. On each drive

- the first partition is only 64MB;
- the second is a large 900GB partition and
- the last holds all the remaining space

mdadm has been used to set up
/dev/md0 - RAID1, comprised of /dev/sda1 and /dev/sdb1
/dev/md1 - RAID5, comprised of /dev/sda2, /dev/sdb2, /dev/sdc2, /dev/sdd2
/dev/md2 - RAID5, comprised of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3

OK, so it was a silly mistake to make - but I am now need to increase the size of /dev/md0. My thinking is to reduce the size of md1 so that I can grow md0.

On md1 I have two logical volumes. I've successfully reduced the size of the volume so that I can reduce the size of md1. Now I'm at the nervous stage; I can find little written on the topic of shrinking RAID5 arrays - and even if I do this I'm unsure if I can move partitions around to regain the space I so desire.

View 1 Replies View Related

Debian :: Mdadm Create A Backup File After Grow Command

Feb 27, 2016

I launch a mdadm grow to expand my filesystem but I forget --backup-file.I have my server running and one UPS.

Code: Select allpk25.com:~# mdadm --manage /dev/md0 --add /dev/sde1
mdadm: added /dev/sde1
pk25.com:~# mdadm --grow --raid-devices=5 /dev/md0
mdadm: Need to backup 3072K of critical section..
pk25.com:~# mdadm --grow --raid-devices=5 --backup-file=/root/md0-grow.bak /dev/md0
mdadm: /dev/md0 is performing resync/recovery and cannot be reshaped

[code]....

View 0 Replies View Related

Debian :: Root Partition Full But It Is Not?

May 18, 2015

Got problems with apt. So I discovered if I remove some stuff from root partition apt works normally again.

So I tested to copy 1GB file to root, but in the middle says disk is full, but there should be 1.8GB free if I type df -h.

Code:
Select alldf -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          4.0G  2.2G  1.8G  56% /
tmpfs            10M  4.0K   10M   1% /dev
/dev/md0        4.0G  2.2G  1.8G  56% /
tmpfs           492M     0  492M   0% /dev/shm

[Code] ...

View 12 Replies View Related

Debian :: Root Partition Filling Up

Dec 22, 2015

I'm booting to Kali 2.0 live from USB and wanted to add persistence, but I can't get OpenVAS setup. The setup script runs and eventually fails due to no more disk space. Here's my df -h output:

Here's gparted:

When the setup runs it fills up root (/) which is only 872mb. This is a 16gb USB so I'm wondering if there's a way to allocate some of the 11gb of unallocated space to root? I couldn't tell how to do this with gparted, would I need to build a custom Kali iso or something with different partitioning?

View 5 Replies View Related

Debian :: Mounting Other Partition And Editing As Root?

Jan 22, 2011

I have Linux Mint (LMDE) on another partition and I guess I need to do some 'fixing' so I need to mount the partition. I can't, though, not by just clicking the partition (obviously?). I assume this is because I need root access to mount it.

how I can do this?:

1) CLI - mount via CLI by mounting at some point - for e.g., mine is /dev/sda3 so mount as ?

2) Use an 'editor' or file manager - such as Dolphin - how would I do this?

3) Use a Live CD/DVD - I think this way is unnecessary but it's a way, right?

Anything I missed? I guess gparted could mount it?

Which method would you use?

I think one could ssh into it but I'm not able to do that yet.

I need to exit the xorg.conf file which is recently really messed up.

View 3 Replies View Related

Debian :: Jessie-grub On Root Partition

Feb 7, 2016

i use a 3rd party boot mgr.i installed jessie over etch on my old computer & only choice i saw for grub was sda & sdb where i wanted to install on sdb9.i tried installing it from my wheezy partition & it did but i ended up with 2 boots to wheezy.so i went back to etch.

my question is how to get grub on sdb9 like it was on etch.is there a trick or did i miss a prompt? on another note, that bug where the format hangs if you try & install over an old system is a little irritating. can't believe it hasn't been fixed.

View 4 Replies View Related

Debian :: Root Partition Full Already Resize?

May 18, 2010

I recently installed Lenny and used the "Guided - Use Entire Disk" option.I made separate partitions for root, /etc, /var, /home, /usr and swap.I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full.

View 8 Replies View Related

General :: RAID At Root Partition In Debian ?

Feb 11, 2010

The RAID level 1 interested me because of its redundancy in both drives. And I successfully made it in a couple of partitions. But, I always did it after Linux installation. Then, I create both partitions, use 'mdadm' to create raidtab and RAID device (md0, for example) and then I format the RAID device with 'mkfs' and mount it.

Until there, it's all OK.

But my problem is to mirror ALL the hard disk, inclusive root partition. To do that, I guess I need no Linux installation, then create the RAID (md0, raidtab, etc) and after that install Linux in RAID device created.

But I'm new in Linux world and I have no idea how to do that.

I use Debian Lenny, so I need a solution that uses only the first DVD of this distribution.

View 10 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: Mount Options Of Root Partition

Apr 28, 2016

I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.

In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".

By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.

When I try the "startx" command, I get a "read-only" error.

With the command "sudo mount -o rw,remount /" the graphic interface is started.

Below is the configuration of the partition under the gnome disk utility tool :

"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked

Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto

I do not want to change anything that could leat to a critical error. So what do you think I should do ?

View 1 Replies View Related

Debian Configuration :: Merge The Root And Home Partition?

Jan 18, 2011

I have the partition like below. Now i want merge the /home partition into /dev/sda1 partition .

[Code]...

View 4 Replies View Related

Debian :: Partition Layout - Primary Or Extended For Root Parition?

Mar 26, 2010

For a fresh installation using manual partitioning, one single disk (IDE).

If I selected:

For the root partition, I would like to use ext4, 10GB, but by default, the partition type 'extended' is suggested. Would there be any difference (advantages, inconveniences) if I selected the primary partition instead?

View 6 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Ubuntu :: Process Of Resizing Partition Safe?

Aug 4, 2010

Are there any bad effects of resizing a partition? (like loss of data).

View 6 Replies View Related

Ubuntu Installation :: Is It Safe To Resize Partition?

Sep 6, 2010

I am currently using Ubuntu Studio 9.10 in dual boot with xp and wondering if it's safe to shrink ubuntu partition and expand swap partition without messing up boot sequence and grub.

View 3 Replies View Related

Ubuntu :: How Safe Is Moving A Boot Partition

Mar 2, 2011

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!

View 6 Replies View Related

General :: Safe To Format Extended Partition?

Aug 6, 2010

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.

View 3 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

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.

View 6 Replies View Related

Ubuntu :: Safe To Resize An Unused Boot Partition?

Mar 4, 2011

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?

View 7 Replies View Related

General :: Wanted Safe Way To Fsck (mounted) LVM Partition

Jan 10, 2010

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?

View 5 Replies View Related

Ubuntu :: Keeping Files Moved From NTFS Partition To EXT3 Safe

Mar 13, 2010

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?

View 3 Replies View Related

Ubuntu Security :: Safe To Transfer Files From Infected Windows Partition?

Sep 2, 2010

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.

View 8 Replies View Related

Server Platforms :: Partition Table Deleted - Get My Data Back Safe Without Losing It ?

Mar 6, 2010

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?

View 4 Replies View Related

Ubuntu :: 10GB Of Data Overwritten In NTFS Partition - Hard Disk Safe

Jul 22, 2011

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.

View 4 Replies View Related

OpenSUSE Install :: Create A Root Backup Image Of The Root Partition ?

Oct 12, 2010

Since I installed MS2 I messed up grub. Finally I got 11.3 back to its old glory.

What would be the best procedure to create a backup image with all settings and permissions ...just in case ?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved