Hardware :: USB-stick Empty But 200 MB Used - Parameters For Fdisk ?

Feb 1, 2010

I recently got a 4 GB USB-stick (CBM V88) at a meeting. After removing all files to my hard disk it still had about 200 MB used space! I tried several kinds of deleting what ever that was -- to no avail. So I got furious and zeroed out the first 210 MB with dd and then used fdisk and mkfs to create a new FAT 16 partition (I need the stick to transfer data between windows and linux/bsd).

So far so good. Then I noticed still 4096 kB used space with no file shown What can be done here?

During fiddling with fdisk parameters heads / sectors / cylinders I noticed that there were something like 5125 blocks of 512 bytes not allocated (which is about 2,5 MB?!?). Can anyone point me to a reference how to calculate an optimized heads / sectors / cylinders count for a stick of the size of 4.108.070.912 bytes or, even better, explain it here for all interested readers?

View 14 Replies


ADVERTISEMENT

Ubuntu :: Partitions Are Effed Up - Fdisk -l: Code: Omitting Empty Partition (5)

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

Ubuntu Installation :: "omitting Empty Partition" With Fdisk

Dec 18, 2010

Since I installed TinyXP on another partition on my PC, I get "omitting empty partition" when I use fdisk -l.

Code:
omitting empty partition (5)
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

NOTE: I also searched for the palimpset error and I found a Bug Report there: [URL. I don't know if these informations could help to fix this problem, I think it's related and probably cause by the installation of Windows XP and the way that gparted and palimpset read the partitions.

View 9 Replies View Related

Ubuntu :: Corrupt Usb-stick - Close Gtk Button And Pulled The Stick Out Of Pc

Oct 1, 2010

i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04

View 5 Replies View Related

Ubuntu Servers :: Installing Server From USB Stick To Another USB Stick?

Sep 1, 2011

I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.

View 8 Replies View Related

General :: Shell Scripting \ (test If A File Is Empty, If It Is Then Display "file Is Empty" Otherwise Display "file Is Not Empty")?

Oct 5, 2010

I am a final year student doign Computer systems engineering and just been introduced to linux. While still strugling to catch up with the commands, I am now given an assignment under shell scripting.I seriously am strugling to understand this question, can you please assist me.Here follows the assignment:

Operating Systems III
Some tips
e.g. (test if a file is empty, if it is then display "file is empty" otherwise display

[code]....

View 10 Replies View Related

OpenSUSE :: Open Files From Memory Stick The Memory Stick Is Not Available?

Mar 21, 2011

When I start bluej and try to open files from my memory stick the memory stick is not available. Is there any way that I can open files directly in bluej from my memory stick.

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

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

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

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

Hardware :: Using Fdisk On SATA Drives?

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

Server :: Can't Create Partition Using Fdisk

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

Software :: Deleting Partition With Fdisk?

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

Slackware :: Replace Fdisk With Gnu In Busybox?

Oct 23, 2009

I want to replace the fdisk that is included on the busy box of the Slackware dvd, with the gnu fdisk. Trying to find something but not any luck till now.

Can it be done?

View 5 Replies View Related

General :: Parameters To Be Used With Chmod?

Jan 12, 2011

How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.

kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied

View 3 Replies View Related

Server :: Cannot Set Kernel Parameters / What To Do?

Feb 8, 2011

I have a strange problem with RHEL4.7, with kernel 2.6.9-78.

I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.

I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.

Also I mounted proc device on another mount point:

# mount -t proc proc /mnt

View 1 Replies View Related

Programming :: How To Run External Exe With Parameters

Mar 8, 2010

Specifically I'm trying to run xmacro from within a c program. If I were to run it from the terminal I would do it along the lines of Code: xmacroplay :0.0 < script_file.txt, but I want to run it from my c program. I'm fine with my c program running it from the terminal if that's possible and easier but I'm guessing there must be a better way.

View 3 Replies View Related

Debian :: Disk Setup - Df And Fdisk Reports Different

Dec 9, 2010

Iīm pretty new to linux and debian and I have a problem with my disk setup. I have a rocketRAID hardware card installed for RAID setup. In addition I have a separate HDD for linux and use the RAID-setup for server purposes. Now, when I boot the system, grub boots /dev/sda1. This does not work and I have to change to /dev/sdb1 for it to find the system files. (although sometimes it works, but in these cases the system does not find the RAID-disks. Thatīs for another time thou).

The strange thing about this, to me in any case, is that "fdisk" reports correctly, with sda and sdb but "df" reports all disks as sda and none as sdb. It also misses a partition of the RAID-disks which fdisk reports. hereīs a screengrab from "fdisk -l" and "df -h"

[Code]...

View 2 Replies View Related

Debian :: Unable To List Ipod With Fdisk -l

Jan 4, 2011

Here is my fdisk -l output:

yaman:/home/aykut# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 3 Replies View Related

Fedora :: Use Fdisk To Format A Mmc Card And Partitioning It?

Oct 16, 2010

im a beginner in using linux and i want to know how to use fdisk to format a mmc card and partitioning it

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







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