Ubuntu :: Relation Between Fdisk And Fstab?

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


ADVERTISEMENT

Ubuntu Security :: Relation Between Apache & Squid?

Oct 3, 2010

Lately i just installed Ubuntu 10.10 and get my Squid installed.It work much superior than Polipo for cache but i do not understand why i got Apache installed after i installed Squid.Is there any co-relation between Apache and Squid?Does it gonna make me run my own web server?

View 4 Replies View Related

Debian :: Remove The Relation Of A File From A .deb Package?

Feb 2, 2010

Hi,

I'm using my own Debian .deb-packages for managing software updates on a small numbers of computers. So this question is about creating my own .deb Packages.

I got the Package A with the version 1.0 and 2.0. From version 2.0 on it's not necessary to keep track of the file fileB.txt. But I want to keep fileB.txt on the target system anyway.

Code:

Package A Ver. 1.0:
- fileA.txt
- fileB.txt

Package A Ver. 2.0:
- fileA.txt
If I install the new .deb package A. DPKG will remove fileB.txt.

How can I prevent dpkg to remove fileB.txt? In fact, dpkg should simply forget that fileB.txt was ever part of Package A!

Of course I could manipulate the dpkg file list, somewhere in the dpkg cache (file system). But how can I achieve the same effect within a package -> without manual manipulation on the target system?

Is there any key word in the control file? Or is there a special file, which lists "dependencies to delete"?

View 1 Replies View Related

Networking :: PCI Device And Ethernet Adapter Relation?

May 20, 2010

I have two pci network adapters. I see them in pci device list (lspci). And I see them using ifconfig. How do I relate them - which pci device corresponds to ifconfig network adapter ? (I can't open my hardware and relate them using MAC stickers)

View 4 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

Ubuntu :: Rename The Fstab-BAK To Fstab?

Jan 19, 2010

I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.

View 9 Replies View Related

Ubuntu :: Screwed Bootdrive With Fdisk?

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

Ubuntu :: Fdisk And Disks Greater Then 1.5TB?

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

Ubuntu :: How To Interpret FDisk And DF (Seems Conflicting)

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

General :: How To Use Fdisk

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

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 View Related

Ubuntu Installation :: Creating Partitions Using Fdisk?

Sep 30, 2010

I have a dell poweredge 2950 server which had red hat on it. I have installed ubuntu on top of it. I have replaced master boot record during the installation of ubuntu as I dont want use red hat anymore. During the installation it asked me for the space I wanted to give for Ubuntu and I provided 10GB. Now I can use only 10GB of my harddrive until I mount other partitions correct?

So when I type sudo fdisk -l I get the below printed:

Code:
Disk /dev/sda: 146.2 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]....

View 1 Replies View Related

Ubuntu :: Change Sda2 To Sda1 Using Fdisk?

Dec 1, 2010

I'll avoid the details of what got me here and get right to the point.I have two primary partitions on 1 hard drive. sda1 is my fat32 recovery partition and sda2 is my ntfs windows xp partition. I need to know how to change the order around so xp is sda1 by using the terminal in the ubuntu live cd.

View 9 Replies View Related

Ubuntu :: Restore Partition Table With Fdisk?

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

Ubuntu :: Sudo FDisk - No Init Found

Apr 3, 2011

First I installed ubuntu on a separate hard drive and ran that as primary hard drive. Then I opened terminal and entered:
sudo fdisk -l
The errored hard drive was sdb1. I then entered:
sudo fsck /dev/sdb1
There were questions I answered yes to then, after swapping drives, I booted normally. Everything was normal except I have to choose a different version of ubuntu at startup. I haven't had any problems so far but this was just an hour ago.

View 2 Replies View Related

Ubuntu :: Usb Drive Wont Mount Missing From Fdisk -l?

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

Ubuntu :: Mount NTFS Harddrive Not Visible In Fdisk?

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

Ubuntu Installation :: Create Aligned Partitions With Fdisk On EBS?

Jul 17, 2010

After reading Markus Ewald blogpost on http:[url]...n-ssd-on-linux about Aligning an SSD on Linux I decided to give it a try.I have bought two 80 GB Intel X25-M SSD for my home server. The plan is to install Ubuntu 10.04 64-bit server and use the SSDs as system discs and vmware data storage using software raid for redundancy.After reading the blog post I am not sure how to make all my partitions aligned and set up on EBS (Erase Boundary Size)I am planning for four partitions:Boot, size 1GB

Root, size 25GB
Swap, size 4GB
Data storage for vmware server, size 40GB

According to Markus Ewald I should use 32 heads and 32 sectors.Using the live CD, I started using fdisk -S 32 -H 32 /dev/sda.Fdisk can create partitions using cylinders or sectors, and now I ran into trouble.

First partition /boot must start on cylinder 2 (or sector 1024). Size is 1 GB and the following partition should be aligned and start on a new EBS block. How do I do this with fdisk?Should the next partition start on a new cylinder? Otherwise, after formatting, fdisk gives a warning that the partition is not aligned to the cylinder size? The overall question is how to format four aligned partitions which all are aligned with Intels X25-M EBS. EBS for Intel X25-M is either 128KB or 512KB (Have not found a confirmed value yet)

View 1 Replies View Related

Ubuntu :: Fdisk, Partitions, Hdds And Terms Of Storage?

Jan 18, 2011

i have a question regarding how data is placed on a media, for example the daily used hdd: when we talk about storage we often speak in heads sectors and cylinders. my question is if heads, sectors and cylinder is the true way data exists on a hdd platter?

lets take for example, disk_x
1000.2gb = 1000204886016 bytes
255 heads, 63 sectors/track 121601 cylinders.

fdisk -H 128 -S 32 /dev/disk_x each cylinder will be shrank to 2097152bytes, number of cylinders will grow to 476934. but everything will be much more aligned and readable or there is something i don't know and i will loose almost half of the total sector count on the hdd cause 63-32=31. i asked the partitioner just to use 32 sectors from each track and only 128 tracks of the cylinder.

or another example, if i have a cluster size of 4k. why not making each track use 56 sectors or 7 clusters. theoretically i have all files in my storage and each one of them occupies 14 clusters isn't it wiser to make it as described. what happens when i invoke fdisk -h -s params? what will be changed, the disc physically and the way it is accessed or only the partition table? you probably asking your self what the hell does this dude wants? i want to get maximum i/outputs and the widest bandwidth and the nicest readble partition tables and to understand better fdisk -H -S.

View 6 Replies View Related

Ubuntu Installation :: Using Fdisk Or Gdisk Depending On Hardware?

Jun 25, 2011

I have installed 10.04 64bit on two machines that have different hardware. After the installation (that went perfectly by the way), I needed to add extra partitions on both machines. Normally I use fdisk for this, and on one machine this went OK. On the second machine, however, after starting fdisk, I got the warning message that a GUID Partition Table was found on the disk, and fdisk was not compatible.
This leads me to believe that during installation on the first machine fdisk was used to partition my harddisk, and on the second machine gdisk or gparted was used. Is this normal ? Is there a way at installation time to force the use of fdisk ?

View 1 Replies View Related

Ubuntu :: Lost A Reiser Formatted Disk It Is Not Visible Not With Df Or Fdisk?

Jan 5, 2010

within the last 24 hours I have lost a reiser formatted disk. It is not visible not with df or fdisk.Which tools do you normally use in a situation like that.

Disk /dev/sda: 40.0 Gb, 40020664320 byte
255 heads, 63 sectors/track, 4865 cylinders
Units = cylindre of 16065 * 512 = 8225280 bytes

[code]....

View 5 Replies View Related

Ubuntu Multimedia :: Use Fdisk, Didn't Format Sd Card And Now Can't Use Svideo To Tv Again

Jan 25, 2010

i have no idea if anyone can help. linux has been nothing but a hassle for me. i just wanted something that wouldn't be affected by viruses. to the point though. i read an thread on here about using fdisk to format sd cards. tried everything it said, not only did it not work but now my svideo to my tv no longer works. i have ubuntu 8.04 (yes i would upgrade but i can't bc for some reason anything newer won't work on my laptop)

View 3 Replies View Related

Ubuntu :: Ext3 Partition : Fdisk Is Not Showing Any Partitions On The Drive?

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

Ubuntu :: Using Fdisk Command Made HDD Formatted And Lost All The Data

Oct 1, 2010

I have 2 HDD in my PC . The 2nd one is a 1TB Western Digital Harddisk which was formatted in Win XP NTFS and just 1 partition, using it for archieve (Film- Music - Apps ... ). I was trying to use fdisk command , but unfortunately destroy the data , format and partition it like this picture :

[URL]

recover my data . Any procedure or software ? By the wayy , I use Win Xp & Ubuntu 10.04 . According to the problem and the above picture in which OS should I recover my data - Ubuntu or WinXP ?

View 5 Replies View Related

Fedora :: Using 'fdisk -l' As Normal User In F12 ?

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

General :: Update Udev After Fdisk Run?

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

Hardware :: External USB Does Not Show Up In Fdisk -l

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

General :: Differences Between Fdisk And Sfdisk?

Dec 13, 2010

I want to know the differences between fdisk and sfdisk?

View 1 Replies View Related

Hardware :: Use Fdisk To Create Partition?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved