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)
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.
Today I add hard disk and tried to make partion tion as extended. but i could not format it as ext3. and I could not also access the drive using fidsk /dev/sdb1. It rerurns error as: /dev/sdb1 unable to read .
extended sata partition shrunk at 15 partition limit, how to re-enlarge i hit the 15 partition limit, forgetting it now exists for sata drives, thinking i would add more. upon creation of the 15th, it squished the end of the extended partition to meet the last logical partition, leaving a large unallocated portion after the extended partition, which seemingly nothing can be done with, just sat being wasted space. i have since deleted a few of those partitions, but so far have still failed to find a way to recoup the unallocated space back into the extended partition.
if necessary, i'll do it the painful long winded way of backing up and starting the extended partition again from scratch, but i really rather wouldnt have to do that. i'm sure there must be a way of telling the extended partition to once again reach the end of the drive.
I'm trying to create an extended partition. In GParted, I shrunk the size of the existing partition and now want to create a new EXTENDED partition in the free, unallocated space. GParted only lets me create a PRIMARY partition. What am I doing wrong here?
Here's what I've got right now:
You can actually ignore the flag for the swap as "boot." That was me just messing around trying to get it to work. I've removed that flag. Not sure how the question of boot affects all of this...maybe it factors in somehow.
Okay so first of all, let me give you a background info.I have an HP Mini 311 with a 250GB hdd and 2GB Ram. I have successfully setup a tripple-boot with SnowLeopard/Win7/Ubuntu10.10.Okay so
First, using "Disk Utility," I format the OSX partiton to Extended(journaled) and install OSX accordingly. Second, I install Windows 7. Third, I use Netbookinstaller to install Chameleon 2.0 onto the OSX partition. Fourth, using DIskPart.exe i set the Win7 Partition(#3) as active and then run the Repair(and Restart) option in the Win7 USB install media, to fix some boot error I do not know much about. Then use"DIskPart. exe" again, to set the EFI partition(#1) as active partition again.I now have a fully operational dual-boot with SnowLeo and Windows 7.
I setup a triple-boot with SnowLeo/Win7/Ubuntu10.10 by using GParted to add and format 2 additional partitions. The first formatted Ext4 for Ubuntu to be installed onto and the second i set about 4GB as "Swap" area.Then i just install Ubuntu with the Grub bootloader being installed onto the same partition as Ubuntu.I now have a fully operational triple-boot with SnowLeo, Win7 and Ubuntu.So I saw this link about creating an additional "storage" partition, on a dual-boot system, and setting it up so that Windows 7 and Ubuntu can share the same files automatically.
I really want to set this up on my triple-boot system, and here is the problem i run into: Simply adding another partition, messes up my windows 7 boot entirely. And i figured out the cause of this might be due to harddrives only being able to handle 4 primary partitions. So i figure that if setup Ubuntu and the Swap-area into an Extended Partiton, this would solve all of my problems.I cannot figure out how to setup an extended partition on my harddrive without messing something use up irreparably. This is only my second
I'm following the book RHCE book (5th edition) by Michael Jang. On the exercise on pg.140, creating partitions, I've created /boot (hda1), swap (hda2) and / (hda3). So far so good.
Next, I'm supposed to make an extended partition, containing the rest of the disk. So this should be hda4, right? But when I try to create either an LVM, or RAID partition, it creates hda4 AND hda5 under hda4. Why is that? Am I doing something wrong? The book next asks me to create /var as hda5, so if hda5 is already created automatically above, how am I supposed to create /var?
I have a 120GB HD that I installed my linux-mint distro to and have been using for a while now, maybe a year or so. However, it has been running great so I haven't paid much attention to the actual install. Recently, I have been getting notifications of very low disk space remaining. I ran gparted and discovered that there is a very large extended partition that doesn't appear to be mounted. Can I just boot into a terminal, set a mount point and be on my way or will this hurt my existing installation? What is the safest set of steps to mount this partition since it looks to be the swap space as well?
Code: Here is output of fdisk for the drive: Disk /dev/sdb: 122.9 GB, 122942324736 bytes 255 heads, 63 sectors/track, 14946 cylinders
My setup is as shown in the image below,i have 170G of unallocated space which id like to add to my Extended partition so that i can create logical partitions.I can only create one primary partition now of 170G which i don't need.Can i boot my machine off a live-cd and a run a gparted and add the unallocated space to the extended partition?
I'm currently dual booting Windows 7 64bit and Ubuntu 10.10 each on primary partitions. Then on the other 2 partitions I have the manufacturer recovery partition (which I am not sure I should remove...), and then a partition for storage and files. Now I want an Arch Linux installation on the hard drive, but obviously I cannot create a new primary partition because I already have 4. I found out that linux can run from a logical partition (which you can have multiple of)..However I do not want to format my Ubuntu partition and I'd prefer to keep the data on there all intact. Is there a way to move my Ubuntu installation (on the primary partition) to an extended partition where I could put multiple logical partitions for multiple linux installations?
I'm sure I've done this before and never ran into trouble so it's not like I wasn't thinking, just something went wrong this time and I'm screwed. I'll post a fdisk -l to show ya what I mean.
[root@localhost ~]# fdisk -l /dev/sda Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x624aa2e0
Well I tried to install Pclinuxos 2010 to the same partitions as Mint 7 and basically just over write it (this I have done before) but this time Pclinuxos says there is a bad block and it can't copy files to / (sda7) I didn't think much of it at the time and thought I would try to install it (Pclinuxos) on a separate 100 gb usb drive and it was a sucessful install.
After booting Pclinuxos I try to access my 1TB sda hard drive and I can ony access sda1 .....when I look at /dev/sda in gparted is shows the whole disk as unallocated.I have done nothing at this point in time other than what I just said because I am very afraid of loosing all my pictures and everything else on that disk....and for those that will say always back up ....if ya think I'm not kicking myself right now your dead wrong......
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
I am not really sure if the title makes any sense or if it even possible. Basically I am currently triple booting with Mac osx on the first partition windows 7 on the second and ubuntu linux on the 3rd with a swap partition. So basically on my 2TB harddrive
Mac (200gb) Windows (200gb) Linux (200gb) Swap (8gb) NTFS(1592gb)
The last partition is formatted as ntfs using Gparted, windows cannot detect it. The windows disk partitioner shows the swap and ntfs partitions as unformatted. I can unformat the space and use the windows partition to add format it as ntfs but it would format the linux swap partition as well. I am worried that it could potentially screw up everything on my harddrive. My question is. What do I need to do to get the ntfs parition recognized by windows (should I use the windows partitioner)?
I've got a server that needs more space. To achieve this we added space (by extending the VMware disk attached to it).Normally this isn't an issue, because we just add an new partition and LVM it from there, but this host predates our deployment of LVM everywhere.
Our current theory is that the unallocated sectors can not be assigned because they aren't part of the extended partition, and thus ... we go in a circle.So what i believe the way forward is to extend sda4 so that i can then create an sda10 inside of it. Anyone have any ideas on how to do this? I was thinking gparted may do the trick ... but being a server i'm in runlevel3, with no X...
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?
I somehow messed up my filesystem. I installed Ubuntu directly with LVM. This created an extended partition including a logical one. When I run out of space, I just increased my space (through VMware) and then added a new PRIMARY partition.
Then I added this one to the volumegroup and increased the logical volume. After I did this a few times, there were no longer any primary partitions allowed (only 4). Then I resized the FS, resized the logical volume, resized the volume group, and removed the physical volume. Now I'm no longer able to create an extended volume (only one) but it's not at the end (there are other primary partitions behind this one at the disk), so I'm not able to create some logical volumes.
What is the best possibility to add some space to the LVM and being able to do this a few times in the future again?
fdisk -l for sda:
There was a /dev/sda3 at the end of the disk. I already deleted this partition.
So the order on the disk is: sda1 | sda2 (extended) | sda5 (logical referred in sda2) | sda4 | free space
Does it matter that there is type "Linux" for sda4 or can I without damaging the lvm just change it (with cfdisk) to "Linux LVM"?
Two days ago I want to expand the free room for my C: partition on my laptop, i thought that just shrink the D: partition and expand the C: and the problem solved, but it's not solved, the C: remains and can't be expanded. so i merge the D: again,but the D: status become an extended partition
After all, next morning I boot into Ubuntu and my D: are not available in "Places" menu in Ubuntu just the C: partition, so I boot from Win7 and run CHKDSK /f to my D: partition, but it's gave me no effects
Code: sudo fdisk -l in terminal and my D: listed as "Extended" in System type.
I recently decided to resize a partition on my HDD (partition on which Ubuntu was previously installed).This was in order to remove Ubuntu from one of my HDD. I got rid of the Grub loader by booting on my windows system recovery disk and using Bootrec.exe/FixMbr and my computer now boots directly into windows. I then deleted the Ubuntu partition.
To get to the heart of the problem, I am trying to move the free space that is in the extended partition out and merge it with C. I tried doing this with my Gparted liveCD but it didn't work. I didnt have anything to save the error message onto, but I will try the process again when I get home and save the error onto my external drive so that I can post it here.
I'm dual booting Win7 and Maverick and I'm running low on diskspace on my Ubuntu partition.I booted into an Ubuntu 10.10 live CD and opened Gparted. After shrinking the storagepartition I wanted to grow the extended ubuntu partition into the unallocated space to the left, but for some reason it won't let me do that.
The fact that there are mounted partitions can be ignored as any work to be done will be done from a LiveCD.The question is Can the extended partition - SDA4 which contains SDA5 (Maverick Meercat) and SDA6 (swap) - be moved to occupy space at the end of the drive somewhere within the unallocated partition so I can then extend SDA3 to take all of the remaining space?
At the moment using Gparted all I can do with the free space is create another partition.SDA1 through to SDA6 is a copy of the original hard-drive.The copying was done using Paragon Partition Manager (a Windows program). This caused all sorts of problems Grub, and was a PITA to sort out. The program installed its own version of the MBR which had to be sorted with a Windows 7 install disk and then I had to sort the Grub problems after.
I have a situation where a disk was built using an image from a disk with a much smaller geometry. The result is about 70% of the disk is unused. Most of the partitions (including root) are on an extended partition that is sized for this smaller geometry. The person who did this has already been scolded, but life goes on.fdisk shows this:
Disk /dev/sda: 146.6 GB, 146694733824 bytes 255 heads, 63 sectors/track, 17834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I'm using Fedora 14 x86_64.I want to take 200GB from the /home Extended-Logical Partition, and install Archlinux on it, how do I do that? In this 200GB Free Extended Space I want to create another 4 Logical Partitions for Archlinux.
I wanted to create NTFS partition from unallocated space but by my mistake that space is beyond extended partition. How can I add unallocated space to extended partition and then create NTFS partition without deleteing any partitions?