Debian Installation :: Resizing Drive During Install Leaves Empty Space Unusable
Sep 12, 2015
I just bought a new HP desktop, and I want to install Debian on the hard drive. I ran the Windows program on the Debian CD to start the install.
I selected Manual drive setting, and resized the large C: partition to 50 GB. I want to install Debian in some of the free space, only their isn''t any free space! The 400+ GB I took out of the C: partition is labeled "unusable" instead of "free space."
If I double click the unusable space, I am just given the cylinder/head/sector numbers. How I can make that space usable?
I would boot my Gparted CD, but I don't know how to get to the BIOS. The boot screen goes right to Windows without showing me the key to get to the BIOS. I tried hitting DEL, but to no effect. Do you know what the HP computers use to interrupt the boot?
When I boot the ubuntu live cd (9.10) and attempt to install it only gives two options at the partitioning screen. One is to use the whole disk and the other is to manualy assign partitions. I told it to resize one of my partitions and created 18GB of free space. However, it tells me this space is "unusable". It wouldn't let me do anything with it and I used windows vista disk manager to add it back to the original partition. I have one hard drive with four partitions. One is a restore partition, one windows partition, one storage partition, and one that says xp although i don't have xp installed. It might be used by the acer restore program. It's an acer aspire 6920.
this time last week I was happily running 10.10. I decided to upgrade to 11.04 via Update Manager (not a fresh install), and of course I didn't like Unity so gave Gnome3 a shot.
Well.. at this point the system would stall whilst booting.. so I downloaded the 11.04 disc and reinstalled it (I desperately need to keep my data and don't have any backup options at the moment).
But, now when I boot into Ubuntu (using an Acer Aspire 5741), the resolution is about 800x600, and the mouse doesn't work. Has anyone got any ideas how I can force Ubuntu to reconfigure the system as if it was a completely new install?
i got my powermac g3 up and running as a file server, i added a sata card and two 250GB hdd's which i promptley formatted as ex4, today i noticed one of the drives (the empty one) shows as having 11gb used, at first i thought it was a artifact of samba, but i cheacked the atual comp and ubuntu shows the drive as having 11GB used but it is compleatley empty? i then cheacked the outher drive which about 30GB of data on it, but it shows as having 40GB used?
Im running a dell studio xps 16 computer with windows 7. Im now trying to install a dual boot with ubuntu. My problem is that ubuntu refuses to create a new partition, claiming that i already have 4 main partitions. According to any partitionprogram run in windows I only got 3. It looks likt this in Gparted (from live cd):
The 40 mb partition is probably for some dell recovery stuff. The 100 mb partition is some windows 7 backup, it is also flagged as "boot".. The 87 gb partition is my main windows 7 disk. I have no clue what the 797.5 KiB is for. It dosnt show up anywhere when looking at partitions in windows. I also tried deleting it from ubuntu (live cd) and then booting windows again, and when I booted ubuntu again it was there even tho i deleted it last time. What the hell is this? Can I just delete it and move on with installing ubuntu? Or should I instead delete the fat16 system reserved partition?
I have two 250 GB drives setup with hardware RAID 1. I had on sda and sdb: 20 GB swap, 20 GB /, 198 GB /srv all was good until I started to run out of space on 20 GB /. So I booted the server with Suse 11.3 live cd and reduced the size of 20 GB swap to 10 GB and 198 GB /srv to 150 GB on sda and sdb.
All good so far, then tried to increase 20 GB / to 60 GB, but the Partition setup says the Max Size can be 20 GB, I have checked and I have 42.88 GB of Unpartitioned space. I have rescanned, rebooted, Server is still running fine by the way, but the 42.88 GB of free space is not made available for the expansion of 20 GB /.
I installed 11.4 (64 bit) and all went amazingly smooth. I created three logical partitions (boot, swap and home in this order) and an extended partition with root and backup. Just prior to the installation, my external backup drive went belly up so I created a 40 gig partition to "fill in" the backup duties until I purchased a new one. I got it and set it up and then deleted the 40 gig backup partition thinking I would just add the now unallocated space to the root partition but alas it was not meant to be. I can't resize the root partition while it's mounted and I can't unmount it and have a working system. The 40 gigs of space is sitting right next to root (no having to jump or resize other partitions to combine the two). Is there a way to do this or did I just waste 40 gigs worth of real estate.
Some months ago I decided to give a chance to this 'Linux thing'. However, being uncertain of the usefulness and friendliness of it all, I decided to keep my Windows 7 partition untouched and just make a 30 Gb partition to "try out" Linux. As it turns out, it's been some 2 months since I last booted Windows and was now wondering if there's a way to "steal" some space from that W7 partition and add it to my Ubuntu one without messing up files. Some kind of major defragmentation, leaving an empty part of the disk which I could "attach" to my Ubuntu partition. I am using Ubuntu 10.04 LTS version.
I have removed the trial of win 7 and want to use the empty space for Ubuntu 9.10, [46gb]. Opening disk utility shows 60gb hard drive, divided into system reserved 105mb, 46gb file system [Linux ext4 [version 1]], 13gb extended [contains no logical partitions], 13 gb [Linux ext4 [version 1]], 617mb swap space.Because I have given the 46gb space the same name as the 13gp space i.e. [Linux ext4 [version 1]],will this now be used By Ubuntu for data storage or do I need to do a complete re-install?
My motherboard on my old HP laptop died, so I bought a new machine that's running Windows 7.The machine is a Compaq (HP) and has a 250 Gig hard disk. I used Windows Disk Manager to shrink the space Windows is in so I can install Ubuntu in that space.When I start the partitioner it says the free space is unusable. I ran Gparted and sure enough, there are already 4 primary partitions on my drive:
/dev/sda1 = ntfs - SYSTEM /dev/sda2 = ntfs unallocated
I have just tried to install Ubuntu 10.10 and cannot find the facility to'install into the largest free space on the drive'Am I searching in vain? Is it somewhere I have missed or is it in a different form?
I have an Acer Aspire One that came with Windows 7 starter and 1GB of ram. I am currently trying to install Ubuntu 11.04 via USB drive. The problem that I am having is, whenever I get to the Allocate drive space screen it shows nothing. The box is pink with not text. If I click on Install now anyway I receive a No Root File System error. Currently the hard drive has NO partitions on it, including no file systems. It's completely blank and it is also showing up in my BIOS.
I regret to see the lack of facility for Guided install into the 'largest unpartitioned space on the drive'. I cannot find it either in the Desktop CD, or the Alternate CD. It seemed to disappear in Ubuntu 10.04 Desktop CD but did stay in the Alternate CD. But in 10.10 it seems to have gone completely.I found it a really *very* useful facility for myself, and also when helping others - when all I had to say to them was - 'delete the existing partition/s, do nothing more expect then, install using the facility 'Install into the largest unpartitioned space on the drive'.
I am completely new to Ubuntu/Linux and am having trouble getting my DVD-ROM drive to work. I've tested a few things, and it seems that if there is a CD in it when I boot, then it works fine, but if there is nothing in it then Ubuntu won't list the device. The DVD-ROM is master on a PATA cable and the CD-RW is slave (yes I know it's getting old now...) Drives worked fine under Windows XP. I don't know very much about the boot process, but the following from kern.log seemed relevant: Booting with a CD:
I have 10 GB drive with win98SE taking 2 GB and 9.04 taking 2.3 GB, then the rest is unallocated space. I am trying to use upgrade manager in 9.04 to upgrade to 9.10 (I have 9.10 CD but it fails to install - tried to download it several times. I know upgrade manager solution works in principle, but upgrading to 9.10 says it needs another 1GB of space.
I have used 9.04 live disc to start GParted but there seems no way to resize the 9.04 partition to use the unallocated space - can only resize it down. Making the unallocated space a partition does not seem to help. How can I go from here to make enough space to upgrade to 9.10 and keep Win 98
I have a dedicated server that has CentOS 5.5 installed.. I can access that server via SSH as root. Now the issue is.. httpdocs folder is situated in /var where all website data is stored. I have more than 50GB of website that needs to be transfered to this partition but this partition is of 4.0GB..
I am trying to install ubuntu 9.10 on an system which already has XP installed. I had used Ubuntu earlier but when I installed XP ( in an attempt to dual boot) I seem to have lost the Ubuntu Installation. But the problem is GParted or the Ubuntu installer dont recognize the existing partitions but instead see it as an empty unallocated drive. I have a 120GB hard disk. Below is the extract after fdisk:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x4fa8a60b Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x4fa8a60b .....
Also this is how the disk Utility in Ubuntu sees my system: ( See attachment) [IMG]file:///D:/Screenshot.png[/IMG]
I have decided that my partition table does not meet my needs Barrymore, and I want to shrink the "/" partition by 80GB, and then create another file system on that space. I did some research on-line, and I'm not sure which way is the easiest and more secure way to perform the change with out putting the "/" file system on risk.
My root partition was filling up, with only 500 mbs left, I wanted to resize my root partition from 20 Gb to 40Gb
So I resized my partition by using these steps:
Using Gparted to resize another partition to give space for the EXT4 Using fdisk, deleting the root partition (on /dev/sda2), and creating it again using the new size resize2fs /dev/sda2 Updating grub2
But now the problem is that although I can boot in my new partition and the new partition shows it is 40Gb, but the free size was still 500mb. So I booted from a LiveCD and checked with e2fsck -p /dev/sda2, it reported clean. So I added the -f flag (force check), still, the drive is full.
Debian and debian based distros issue has a issue that has come to make it self aware to me when I was trying to burn a video on my hard drive with braseo and it won't let me burn more than 4.4 gigs to a dvd with 4.7 gigs of free space even a file that is over the 4.4 gig limit by a megabyte with windows i didn't have this problem. One more thing I have 16 gig flash drive and on debian and debian based distros i can only use 13.1 gigs of it but on fedora I can use all 16 gigs.
I had been browsing the web, suddenly I got a massage "only 64 Kb of free space" I Opened disk usage analyzer and I found out that there are 70 GB in my home folder, However the sum of sub folders is only 35 GB, therefore there should be some kind of huge file in my home folder , but I CAnT find it?
I can't even open firefox because I don't have enough space
The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.
I've installed Ubuntu 9.04 on my hard drive. The results are worse I keep getting segmentation fault errors, black screens, lock ups, etc. This time I can't get it as stable as on Wubi. It can't stay stable more than 3-4 minutes - then the interface blinks and goes to black screen or shows weird colored strips/squares, locks up or shows tons of errors in the terminal. I did the kernel recovery mode partition check, no errors were found. I installed 9.04 on my harddrive, everything works fine, I log in and it stays great for about 1 or 2 minutes, then it freezes.
It shows the terminal with 'segmentation fault' errors, or goes to black screen and locks up. Alt+SysRQ+B is the only solution and sometimes it doesn't work either. I got Ubuntu 9.04 running through Wubi before and it ran perfectly stable occasionally on few boots. But I can't get it like that on my hard drive installation It just keeps crashing. I did a long memtest (10 tests passed), ubuntu file disk check went fine, my current operating system Windows 7 runs great and another Live CD Linux based system like Knoppix runs perfectly stable. Should it be a driver issue?
A few months ago I installed ubuntu 10.10 on a 250 g usb hardrive to boot to. I have it set up the way I like it. I let the install disk auto install the program. There are two partitions. Works great.
I have an older desktop that was running win xp and the main drive was starting to fail so I used easus disk copy to clone the drive and decided to use the second slot for a ubuntu drive. I installed a 120 g drive to install ubuntu onto and set grub for dual boot. Then I decided instead of downloading and resetting up the ubuntu drive maybe i could disc copy from the 250 to the 120.
In order to do so I need to resize the partition on the 250g usb drive so the copy will fit on the 120g. Easus partition nor windows device manager recognizes the format the the ubuntu disc used when it installed on the usb drive...I tried gparted live ( booting form the cd )but it doesn't recognize the usb drive at all.
My question is what program can I used to resize the partition of the usb drive in order to get it to a size that disk copy will allow me to copy onto the 120 g drive. The second question is what file format does ubuntu put on the disk during install that isn't detected by these programs.
How much should I consider allocating if I wanted to go a bit beyond a "Live CD" experience but not quite as far as making it my A-1 Linux? My first experience with Linux (or Unix) and GUI together was LinuxPPC on a 603e Mac clone. That was on an 8GB drive (that used to call a RAID server its home, incidentally). Then I had OS X, versions 10.1 and 10.2 on a G3 iMac (40GB boot drive), followed by OS X 10.3 Jaguar on a G4 Dual 1.25 MDD. The power supply died on that -- a $300 item when you can find one with the right pinouts.
In x86 land, on this Lenovo M55p (80gb boot, 1GB RAM, Windows XP Pro SP3 as the primary installed OS), I've sampled GNOME and KDE thanks to Wubi installs that were 15Gb and 25Gb, respectively. I also have an IBM Thinkpad T54 (1.25GB RAM, also 80GB boot) onto which I've installed Ubuntu 9.04.
I understand that Debian has no Wubi counterpart; that it runs strictly on X-ready file systems (Ext2, Ext3 come to mind as examples with which I am vaguely familiar). I have also heard, often enough to start believing it, that Ubuntu and its K & X variants are derived from Debian. I get the impression, however, that for a decent install of it, somewhat more than 15 or 25 GB may be required.
I have a PC with Windows 2000 Pro installed in an NTFS partition of 60GB. My rest hard disk (500GB) is empty, no partition at all. When I run Ubuntu 10.04 installation after step number 3 I get a weird step number 4 showing prepare partitions with an empty array and no available command button at the bottom! So I can not create any partition... Also in step 4 I never see the "prepare disk space" menu. If I use a 9.04 Ubuntu CD and I try to install I get every menu fine as expected. I even tried the 10.04 CD to another PC with Windows XP PRO and the installer worked as expected for partitions.
I was trying to list sudo users in a Linux Machine,
[root@redhat ~]# grep -v -E '^#' /etc/sudoers root ALL=(ALL) ALL %work ALL=(ALL) ALL %dilipvp ALL=(ALL) ALL
where work is a group and dilipvp is user. Can you help me in creating a better script which can list the members of the group work as well. and why I am getting empty space in between.
I formatted a 1.5 Tb western digital external usb drive to ext4 for media streaming on ubuntu-server. I tried FAT32/NTFS before but it keeps unmounting itself for no reason. I tried everything I could find on Google but no luck. After formatting it to ext4, it worked OK for a while but for some reason it has stopped working. Running mount -a makes system unusable indefinitely. It works only if I restart it. UUID=db261dd6-2edf-4020-a0f5-17613a6e94ea /media/wd ext4 defaults 0 0 Is ext4 not a compatible format for external drive? Since, I have I tried different formats and Ubuntu keeps unmounting them. Should I try a different distro?
I have problem with my hard drive on Debian. I connected my hard drive as a local drive (NFS) in to Mac OS. Later i deleted some files on that hard drive from my mac but the free space didnt change. It looks like these files moved in to trash or something but i dont know where is it.