General :: How To Use The Fdisk
Jun 3, 2011
I have used fdisk command in windows environment.Just insert a bootable cd having fdisk into cdroom and start hard disk partitioning. I have been working in red hat/fedora Linux since many months.I always use gui interface to do my hard disk partition. Well i am eager to learn Fdisk under Linux. How can I use it ,Its method to create a a fdisk cd or it is in the 1st cd of the operating system ?
View 8 Replies
ADVERTISEMENT
May 13, 2011
I have knowledge to make partitions unders windows using fdisk. In Red Hat there is also a fdisk command but how can I use it? In which situations we use linux fdisk ?
View 6 Replies
View Related
Apr 2, 2010
How to update /dev directory after creation of new partition on a disk? I have the udev installed, it works perfectly except this. The new devices appear only on reboot.
View 1 Replies
View Related
Dec 13, 2010
I want to know the differences between fdisk and sfdisk?
View 1 Replies
View Related
Mar 6, 2010
i'm in need of my hard drive & usb flash drive numbers, but when i do fdisk -l i get no results - it just gives me the prompt as if i've pressed the enter key on my k/board.
View 1 Replies
View Related
Jan 25, 2010
I used GParted to delete my first partition,then moved my second partition to the beginning of the disk. That all went well, but the partition table still shows an unused entry of 0 blocks listed at partition 1. How do I get rid of that entry and make my old second partition sda1?
View 1 Replies
View Related
Jun 1, 2010
I have a server with RHEL 5. I have bought a HDD and put it into a USB box. Then I plug it to my server by USB cable. I want to mount it but the fdisk -l command don't show external usb device.
View 7 Replies
View Related
Feb 16, 2011
When i am typing in the following command:
fdisk -l > ~/fsLabLog
i get a error message
disk /dev/dm-0 doesn't contain a valid partition table.
disk /dev/dm-1 doesn't contain a valid partition table.
View 1 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
Jul 21, 2011
administrator@ubuntu:/dev$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 7.5G 4.4G 2.8G 61% /
none 431M 640K 431M 1% /dev
[code]....
View 5 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
Dec 14, 2010
How to install linux by using text mode or fdisk tool
View 3 Replies
View Related
Mar 26, 2010
I have used fdisk to create two new partition.
Before this partition, I had 6 partition of which /dev/sda6 was the boot partition. I deleted /dev/sda5 partition and hence the earleir /dev/sda6 became /dev/sda5. Now I created two new partitions /dev/sda6 and /dev/sda7.
Due to this change in device label of /dev/sda6 I am not able to boot my computer.
Is there any method to change the disk label of /dev/sda5 to /dev/sda6 ?????
View 14 Replies
View Related
Jul 19, 2010
I would like to remove/create partitions on a harddrive without going into the menu of fdisk.
can one pass options to fdisk to create and delete without going into the menu? So that I can write a script to do that automatically.
Or if fdisk isn't capable, what other alternatives do I have?
View 5 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
Jul 20, 2010
I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)
View 1 Replies
View Related
Sep 18, 2009
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
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
Jul 16, 2010
I fired up fdisk and got this warning:
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
I didn't even know that my previous Linux installs where DOS-compatible in any way!
View 2 Replies
View Related
Aug 30, 2010
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
View 3 Replies
View Related
Apr 15, 2010
Is there any way to use 'fdisk -l' as a normal user? I see in F12, /sbin has been added to PATH by default for a normal user, but when trying to use it, nothing shows up.
See below for demonstration purposes:
Code:
Password:
I don't want to use 'su -' or 'su -c' and login every time.
View 6 Replies
View Related
Jul 15, 2010
Since installing 10.4 I've been having startup problems: I get a message requiring me to press S to mount various disks. Something which I've never really understood is: what is the relation between fdisk and fstab?At present fdisk gives sda1 and sda2 as my Linux partitions, sdb1 and sdb2 as my Windows partitions. fstab has:
/dev/sda1 /media/winboot ntfs
/dev/sda2 /media/windata ntfs
/dev/sdb1 /media/sdb1 ext3
/dev/sdb2 /media/sdb2 ntfs
/dev/sdb5 /media/sdb5 swap
which looks a bit sus to me. Am I supposed to make my fstab match fdisk, or does fstab modify the result of fdisk when it boots, or what?
View 2 Replies
View Related
Sep 14, 2010
I actually wanted to create partitions on my usbstick, but instead I fdisked new partitions onto my boot + datadrive. It is still running. Is there a chance I can recover that?
View 5 Replies
View Related
Dec 30, 2010
I just bought a 3TB drive to use for backups and I'm getting a strange message when I run fdisk to get a listing of the drives.Here's what fdisk says about the 3TB drive:
Code:
Disk /dev/sde: 3000.6 GB, 3000592977920 bytes
255 heads, 63 sectors/track, 45600 cylinders
[code]....
View 9 Replies
View Related
Apr 25, 2011
It looks like I have one hard drive (30 GB) with three partitions, but df says my primary partition is under 9 GB? Shouldn't it be much larger?
Code:
$ sudo fdisk -l
Disk /dev/sda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004b8d0 .....
View 4 Replies
View Related
Mar 3, 2010
I know there are entries in FAQ and sticky topics about USB-drives, but I can't really make a use of any of them... I bought a new 1.5TB internal HDD and put it into an external HDD box connected to my PC via USB. The Problem is:
I plug it in, dmesg tells me:
Code: [ 478.884972] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0040
[ 478.885008] ehci_hcd 0000:00:1d.7: GetStatus port 6 status 001002 POWER sig=se0 CSC
[ 478.885078] hub 1-0:1.0: port 6, status 0100, change 0001, 12 Mb/s
[ 478.885095] usb 1-6: USB disconnect, address 2
[Code]....
View 9 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 23, 2009
Does anyone know if fdisk is currently blind to SATA drives? If so, is there an alternative command one can use to list ALL partitions, mounted and unmounted, that are available to the system?
View 12 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