Red Hat / Fedora :: FDISK / When Mount The Partition It's Shows As Only 50G?
Mar 27, 2009
OS= Fedora 10
I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and one swap). I then created a new partition as primary partition #1. fdisk appears to see the entire disk....I'm able to start at cylinder 1 and end at 30401 which is 250GB, however when i mount the partition it's shows as only 50G.....What the hell is going on here???
View 4 Replies
ADVERTISEMENT
Jul 2, 2011
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
View 10 Replies
View Related
Jul 18, 2011
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
View 2 Replies
View Related
Aug 4, 2011
I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies
View Related
Feb 11, 2010
I have a remote headless server of which I have an SSH connection to. I have 2 identical usb drives for this fileserver for backup.I have automated cron and rsync running the backups at 2AM each day. Each day the girl in the office removes the drive and plugs in the other one and then takes the backup from the office home each night is case of disaster.
This has all worked fine for a while until a recent update. The server is not mounting any of the usb drives when plugged. I will attach some logs. dmesg is listing the device SDC connecting when it is plugged in. The other two devices SDA and SDB are fixed disks in the server. The following dmesg outputs are from a rebbot. I cannot plug in/out the disk at the moment. The server is remote.
[Code]...
View 2 Replies
View Related
Jul 7, 2010
I have a ntfs hard drive (my "C" drive in Windows) and it has some very important data (baby pictures) on it. The drive is, for some reason, very fail-prone. Last time it went out, I used ubuntu to make a windows disk (I have the key, nothing illegal!) and it went to the error fixing part or what have you and fixed it all up. That was a few days ago, and I was working on backing up the picturs but hadn't finished, and it failed again. Now I can't get it to fix the current windows installation, even though it's doing the same thing (making a clicking noise and stalling on boot before eventually giving up and booting to the ubuntu "d" drive.), it will only take me to the part about installing a new copy of windows, which I don't want to do because that would wipe the drive.
So my next idea was to try and get at the pictures through ubuntu, but when I use sudo fdisk -l, it only shows me my ubuntu hard drive.. Is there anything I can do to find and mount the other drive? I really can't afford to take it in to a professional for data recovery, and I've had them charge me an arm and a leg and do nothing but wipe my drive in the past, so I want to do everything I can to try and get my pictures back myself.
View 9 Replies
View Related
Jul 20, 2011
I have edited my hard disk partition using gparted which created 50GB of free space. I edited my /home which is primary and hence it can not partitioned it. Now, I am trying to create and mount the free space (using fdisk) but the free space is not showing in df or fdisk. can you plz tell me how to create a partition using the free space?
my df and fdisk is as follows:
Code:
# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
[code].....
View 4 Replies
View Related
Mar 13, 2010
New server ubuntu 9.10 install with Samba set up. Drives were mounted before Samba, but after samba was set up and I can see the server on a windows network, I can not get the usb external drives to mount or be seen at all. I also added ubuntu desktop. I used this link to set up the server and samba. [URL]
The external drive is a box of 4 drives formatted as ntfs, worked fine before I set up Samba. I am assuming when I edited the fstab toward the end I did something, just not sure what. The drives are (or were showing up as) /dev/sdb1, sdc1, sdd1, and sde1. I tried to follow the wiki on how to maybe set up automounting and thats when I found they werent even showing up in fdisk. "Unable to mount location, failed to mount windows share"
View 17 Replies
View Related
Aug 20, 2009
i have one harddisk /dev/sda it is partitioned as below:
/dev/sda1: /
/dev/sda2: swap
after the centos is installed, i want to create another partition /dev/sda3 to use all remaining disk space. i used fdisk. after fdisk, it requires reboot. The partition table has been altered! Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks.is reboot really necessary? is there any other tools which do not need to reboot?
View 1 Replies
View Related
May 6, 2011
I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)
I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?
View 9 Replies
View Related
Jul 17, 2009
I have a Windows Vista machine on which I selected "utilize free space on selected drives" to install Fedora 9 temporarily. Now, however, I'd like to remove the Fedora installation. I've tried using fdisk from the Fedora 9 rescue mode on the install DVD, but I seemed to merely mess up the cylinder boundaries. When I boot from the DVD, before entering rescue mode it says that /dev/sda contains a looped partition, and asks whether I want to reformat it (completely removing everything on the drive).
How do I remove the "looped" Linux partitions? (I cannot login to Windows, so any GUI applications won't be any help.)
View 4 Replies
View Related
Mar 5, 2011
I've just installed Debian 6 on an old pc so i can use it as a file server.As far as i know installation went fine but it didn't detect my Edimax wireless network card.The problem I'm having is using FDISK. I tried to explore my CD drive and i got an error message "Unable to mount location". I wanted to see if there was an installer to install my network card becuase the manufacturer says it's supported by Linux. When i use the su - command and try using fdisk -l it just displays the command prompt and no hdd info. I tried it the other day becuase I want to mount all the physical drives and one logical volume. This is only the first step for me configuring this computer as a server and i'm suck already and ready to give up and try Windows server (whcih i don't really want to do).Has anyone got any ideas how i can mount my cdrom and why FDISK isn't working?
View 9 Replies
View Related
Jan 28, 2011
what I did was: - have NTFS (450GB + 4GB linux-swap + 44GB ext3 with ubuntu 10.10 upgraded from ubuntu 10.4). Ntfs partition contains data only, no windows.
- either with partition magic or paragon I tried to resize the NTFS and since then parted doesn't like my partitions anymore, but Ubuntu boots and works just fine..
- I took the output from fdisk -l and decided to remove the swap partition - ubuntu won't boot saying it needs the swap (although it was never mounted and i deleted the swap while ubuntu was active)
I have the following output from fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[Code].....
**NOTE: Since the partitions are not on cylinder boundaries, using parted to recreate the partition table may not be good enough.. I don't have a backup of the partition table.
View 4 Replies
View Related
Apr 27, 2010
had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))
View 1 Replies
View Related
Dec 9, 2010
I have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.
View 2 Replies
View Related
Oct 8, 2010
Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?
Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp
View 14 Replies
View Related
Apr 24, 2010
I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:
Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3
Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....
View 5 Replies
View Related
May 7, 2010
I have a 120GB HDD with a 22GB partition for Ubuntu and the rest for Windows XP. Windows finally died on me so I attempted a fresh install on its partition. However, the install threw a ton of errors so I used a LiveCD to re-install Grub and I booted into Ubuntu. I open up the disk utility to re-format the Windows partition so I can re-try re-installing Windows, but immediately I notice that the partitions are not right. If you add up all the partitions, they are about, say, 18 million terabytes over my HDD's 120GB capacity. Ahhh! What do I do?
I don't think anything is terribly altered, since I can still boot into Ubuntu, but I am completely confused and slightly worried that I might kill any chances to save my HDD I can't post a screenshot due to my post count, so the image loses some of its efficacy in making it small enough for an attachment. Here is the output of fdisk -l: Code: omitting empty partition (5)
[Code]...
View 5 Replies
View Related
Nov 21, 2010
I'm currently working on fixing another problem url
I have a 60 g internal laptop hard drive, 30g is Windows 7 and 30g is Ubuntu.
When in Ubunutu I can access the window's driver and mount it, however, when I am in windows 7 it only shows the Window's partition.
Is there a simple way I can get the ubunutu partition to show up>
View 2 Replies
View Related
Dec 28, 2009
After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:
At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.
After that first try i looked to:url
But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.
At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.
View 11 Replies
View Related
Apr 29, 2009
It seemed that it would be simple enough: take the 'f' option in the expert menu of fdisk to put partitions in order after a gap had been created by a deleted partition and then make corresponding changes in /boot/grub/grub.conf because the root partition was shifted.
Well, it didn't work out that way. No matter what I try, I either see the error 15 at Stage1.5 or the error 28, which is even stranger (file does not fit into memory). All this before I even see a grub menu. It just does not get that far.
Does anyone want to take as stab at guessing what might have happened here and whether I have a chance at recovering without having to reinstall? I can provide concrete data, if anyone would be kind to give it a try. Hoping that this is a known problem and something can be guessed from what I stated here but I can be as specific as needed, just don't want to generate noise if there are no takers.
View 3 Replies
View Related
Apr 11, 2011
I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:
Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora
[code]...
View 4 Replies
View Related
Jun 3, 2011
I installed 15. I have reformatted the 500mb /boot partition, didn't touch the swap partition, formatted the / partition. Trying to boot, I receive a "cannot mount selected partition". This is a fresh install. I rebooted into the Live CD to do some FS Checks, and got kernal crash, black screen, lots of kernal output while in live CD trying to do FS checks. The only line that looks like it holds any info that may be relevant is the last of the lines that says: Kernal Panic - Not Syncing: Fatal exception interupt PID 1161, comm:irq/21-0000:01: tainted: g d (kernal version) Panic+0x91/0x19c
I did an FS check on /boot and it came back fine. I did an FS check on /, and it came back fine. But then I told it to do an FS check on swap and got the warning that swap is currently mounted, and that if I proceed, it could cause serious system damage, and asked me if I wanted to proceed. I chose no, and it crashed.
---------- Post added at 02:59 AM ---------- Previous post was at 02:42 AM ----------
wait, i think i found the problem. It APPARENTLY installed /boot as ext4. Reinstalling now. Will update momentarily...
---------- Post added at 03:06 AM ---------- Previous post was at 02:59 AM ----------
Nope, i explicity made sure i installed ext3 on boot this time, and it still gives the same boot error, AND i KEEP getting that kernel crash.
View 1 Replies
View Related
Jan 20, 2010
I just made a new storage partition and formatted it as Ext3. Now, this particular partition is shown and can be read at the terminal "fdisk -l". However, unlike in my Mint 7 partition, it does not show in my Fedora 10.
Code: [jun@localhost ~]$ sudo fdisk -l
[sudo] password for jun:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc5e3f820
[Code]....
This partition can also shows be seen in gparted in Fedora. However, even in the "Places" tab, it does not show.
View 9 Replies
View Related
Jan 6, 2010
Currently I have a dual boot system it consists of Fedora 12 and Windows Vista, at this time when I am logged into fedora 12 I can select the windows vista partition in the f12 file manager, I am than prompted for the root password and after entering the password, the drive mounts as read/write with no problem. How can I automate this mounting process so once I login as a standard user the NTFS partition mounts without any input? I would like this to auto mount without prompting for a password or having to double click on the vista partition each time.
View 6 Replies
View Related
Sep 10, 2010
I have a cluster of linux boxes that authenticate with ldap, and a few windows boxes. I have been asked to make the windows boxes mount or map one of the linux partitions on the server.Any ideas or search terms that could shortcut the research process on this would be great.
View 4 Replies
View Related
Jan 31, 2011
I encrypted my /home partition in my last installation F13. For some reason, I have to reinstall F13. After I login, I can not access /home. I followed some instructions like
modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/vg_vit/lv_home vg_vit-lv_home
[code]...
View 3 Replies
View Related
Jun 17, 2011
I'm trying to set up my Fedora 15 installation to automatically mount (with all privileges needed for read/write access w/o a password prompt) an ext4 partition on the same HDD. Below is the output of sudo fdisk -l.
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
Partition table entries are not in disk order I'm trying to automount /dev/sda8, I believe. I'll check that when I've rebooted to by Ubuntu partition, 'cause that's where I know how to do it. I tried to use pysdm, since that's what I used to do the same thing in Ubuntu, but it wasn't found by the Fedora package manager.
View 2 Replies
View Related
Apr 8, 2010
i hv 3 os installed ...windows7,ubuntu9.10 and redhat5.3can ne1 tell me how to mount ext4 partition from redhat....because after installing redhat ubuntu is not booting....or can ne1 tell me how can i boot ubuntu by editing grub.config
View 7 Replies
View Related
May 3, 2010
Not sure if I should consider myself a newbie or not, as I have been using fedora 1 for some years, but I only installed it as per the manual and then used it to web surf, didn't delve into the guts of linux. The other forums seem to be speaking languages largely beyond me. Anyway, I find I need to upgrade now. I have tried upgrading to fed 8 from the DVD, but I get the message 'cannot mount /dev/hda1', which is my windows partition.
Looking at the release notes , it says fed 8 expects all partitons to be labeled, as if this is a new requirement. Using /sbin/blkid I see hda1 is not labeled. Is this the problem? How can I label it? Looking at a 'how to' site, I found e2label and tune2fs, but it seems they only work with ext2 or ext3 partitions. In the bigger picture, I am expecting too much to upgrade 1 to 8? Should I give up and just install fed 8 from scratch?
View 6 Replies
View Related