Root OS drive resizing
location: ubuntuforums.com - date: May 17, 2012
I am facing low space problem on my root ubuntu OS drive for quite a long time now.
I need help from you all for two no of things:-
1. How to add more space to my root ubuntu OS drive ? (i.e How to increase the OS disk size ?)
2. As per Disk Utility - Total size is 28G; Used=25G;
but when I checked size in folder (including hidden files) Used=6G to 7G.
Now I am surprised where to find 18-19GB of data ?
How can I utilize the disk space which is actually not in use ?
Thanks a ton in advance to you all for such wonderful forum.
Appreciate your earliest help.
Another Linux OS drive is in Display
location: ubuntuforums.com - date: August 12, 2013
I installed Windows 8 alongside of Ubuntu 13.04, After successful install I found Another Partition is displayed.
Previous My Hard disk Partitioned in 4. One Is Dell Utility, Second One is Linux OS, third one is Linux Data Drive and Fourth one is for Windows 8.
After installing Windows 8 the Linux OS partition is in display, Please see the screenshot so that you can understand my query better.
My question is How to hide this drive?
RAID 5 (soft) + os drive = no boot
location: linuxquestions.com - date: May 14, 2007
I'm having some issues booting when my RAID 5 array is attached to my "server".
Here's my setup:
mobo / cpu: AMD 2000+ , GA-VAXP
- 4 x 250GB SATA (RAID 5) connected to a Promise 300tx2 SATA controller.
this was created in a previous debian setup. I'm trying to migrate this over to a new debian server.
- 1 200 GB (no raid). fresh install
I've installed debian , openSUSE , Ubuntu to the 200GB. All OS's seem to halt at GRUB. Right after "savedefault" ie. the last line in the grub.conf ? When I remove the 4 drives from the controller debian boots OK. "Safemode" in the grub.conf fails in various distro's as well.
I'm fairly certian I never put an mbr on the md0 (raid5), as I always used a separate drive for booting and then used the raid 5 as a data storage.
the grub.conf was regenerated about 8 times by 5 different OS's and all equally failed to boot the system (from the above mentioned). Is a separate raid 5 pro
Migrate your Ubuntu OS drive to a RAID1 array
location: ubuntuforums.com - date: August 25, 2011
Migrate your Ubuntu OS drive to a RAID-1 array
last updated: 8 September 2011 by YesWeCan
Hi there. There are lots of guides around for installing Ubuntu to a RAID array from scratch. This guide shows you how to migrate an existing Ubuntu installation from a single drive to a RAID-1 array so you do not have to do a complete reinstall.
The new array will use your original drive plus a new one and use mdadm with LVM volumes. The new array is created, degraded (one drive only), before your original disk is reformatted. This means you will be able to try out the new array and make sure it is working fine before you decide to switch over to it permanently.
For simplicity, this tutorial assumes you have root, home and swap partitions and no others.
This tutorial has been verified using Ubuntu 10.10 and 11.04.
Estimated time to complete: 1 to 2 hours
You are not a complete beginner. You are familiar with using the command line, you understand d
Root filesystem drive is now writeprotected
location: ubuntuforums.com - date: June 19, 2008
I can't seem to create any new files on my / and can't do simple commands such as passwd.
I found some advice to run the following, but as you can see that failed also. It seems I'm stuck with my drive mounting as read only. I'm running Hardy.
$sudo mount -o remount,rw /
mount: block device /dev/sdc1 is write-protected, mounting read-only
Here's the info from fdisk and file -s for the drive in question.
$ sudo fdisk -l /dev/sdc
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b36bdea
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9327 74919096 83 Linux
/dev/sdc2 9328 9729 3229065 5 Extended
/dev/sdc5 9328 9729 3229033+ 82 Linux swap / Solaris
$ sudo fdisk -l /dev/sdc1
Disk /dev/sdc1: 76.7 GB, 76717154304 bytes
255 heads, 63 sectors/track, 9326 c
Using SDCard used as OS drive?
- date: July 27, 2011
It's more a thought experiment at this moment than anything else.
Coupled with a Class 10 8GB SDHC card.
The goal is to run the computer (which is a headless server so there won't be much writing to the card after installation) from the SDCard, freeing up the remaining drives to function as just storage devices:
2x500GB in RAID 1 for Time Machine backups of my MBA.
1x1TB for movies
1x1TB for TvShows
1x500GB for Music
I know the sustained write speed of a C10 SDHC card is 10MB/s, which is slower than the 3GB/s SATA interface it will be on. I can't get any figures on read speed, tho some averages for various manufacturers is up to 200x, which would be 2GB/s.. so not too bad.
Either way, is this possible/advisable for a server? Or would I be better off just partitioning the Music drive into a 400GB / 100GB and using the smaller portion for Ubuntu?
(As a side note, is an Intel Core 2 [email protected]
enough oomph to handle RAID 1? Or
Moving linux root filesystem vs resizing its partition
location: linuxexchange.com - date: September 3, 2012
I need to obtain more space for a root filesystem that was accidentally installed onto the wrong partition. Given the partitions below, I can either shrink sda1 to 1 byte and then increase sda6 to take up all the freed space, then swapon /dev/sda5 and swapoff /dev/sda7 (though it does no harm to leave sda7 as swap).
The alternate is to cp all of sda6 to sda1, edit sda1/boot/grub/grub.cfg from set root='(hd0,6)' to set root='(hd0,0)', then reinstall grub so it can find grub.cfg in sda1.
sda5 and sda6 were created accidentally, and can be abandoned.
Is there any particular factors that indicate I should choose one approach over the other?
Device Boot Start End Blocks Id System
/dev/sda1 * 1 72474 582142975 83 Linux
/dev/sda2 72474 72962 3915777 5 Extended
/dev/sda5 72800 72962 1296384 82 Linux swap / Solaris
/dev/sda6 72474 72778 2442240 83 Linux THIS IS WHERE THE ROOT IS
MDADM Raid 5 Array OS Drive Failure. Help Urgently Needed.
- date: June 7, 2011
MDADM Help Urgently Needed!!! Raid 5 Array not starting.
I have 4 WD10EARS drives running in a RAID 5 array using MDADM.
Yesterday my OS Drive failed. I have replaced this and installed a fresh copy of Ubuntu 11.04 on it.
I then installed MDADM, and rebooted the machine, hoping that it would automatically rebuild the array.
It hasnt, when i look at the array using Disk Utility, it says that the array is not running. If i try to start the array it says :
Error assembling array: mdadm exited with exit code 1: mdadm: failed to RUN_ARRAY /dev/md0: Input/output error
mdadm: Not enough devices to start the array.
I have tried MDADM --assemble --scan and it gives this output:
mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.
I know that there are 4 drives present as they are all showing, but it is only using 2 of them.
I also ran MDADM -- detail /dev.md0 which gave:
:~# mdadm --detail /dev/md0
Version : 0.90
Resizing the root partition in Ubuntu
location: ubuntuforums.com - date: July 23, 2011
My boot partition(ext4) is of around 8 GB...Now I need more space on it. I am thinking of resizing it using Gparted live...Just want to know whether this is the right procedure or it would corrupt my installation of Ubuntu 11.04??
How to create an Ubuntu bootable USB drive in Mac OS X?
location: ubuntuforums.com - date: March 29, 2013
So, i got a Macbook pro8,1 and i would very much like to have a dual boot system on it.
I prefer the USB Media installation method, and as it's the only option i have at the moments.
So, i've Follow the Instructions in :
Terminal commands used :
hdiutil convert -format UDRW -o ~/Desktop/ubuntu-12.10-desktop-amd64+mac.img ~/Desktop/ubuntu-12.10-desktop-amd64+mac.iso
sudo dd if=/Users/sary/Desktop/ubuntu-12.10-desktop-amd64+mac.img of=/dev/rdisk2 bs=1m
This is my setup :
Formatted the usb in " Disk Utility " :
Selected '1 Partition' and 'MacOS Extended (Journaled)' .
Partitioned the usb as :
GUID Partition Table (GPT)
The ISO img used :
the Ubuntu 12.10 amd64+mac version " ubuntu-12.10-desktop-amd64+mac.img " .
after a shutdown, Refind shows up and it's working properly, But when i select the USB Media drive it leads to a black scree
Page: 1 2 3 4 5 6 7 8 9 10