Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
In Kubuntu, after mounting a 8GB vfat USB stick, and doing "fdisk -l" I get:
delbert@delbert:~$ sudo fdisk -l
[sudo] password for delbert:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006bb9d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2006 16113163+ 83 Linux
/dev/sda2 2007 7296 42491925 5 Extended
/dev/sda5 2007 3975 15815961 83 Linux
/dev/sda6 3976 4113 1108453+ 82 Linux swap / Solaris
/dev/sda7 4114 7296 25567416 83 Linux
Disk /dev/sdc: 8086 MB, 8086618112 bytes
249 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 15438 * 512 = 7904256 bytes
Disk identifier: 0x2c6b7369
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdc1 ? 125407 245362 925929529+ 68 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(116, 100, 32) logical=(125406, 168, 29)
Partition 1 has different physical/logical endings:
phys=(288, 101, 46) logical=(245361, 67, 59)
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 86163 121076 269488144 79 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(357, 32, 43) logical=(86162, 245, 47)
Partition 2 has different physical/logical endings:
phys=(0, 13, 10) logical=(121075, 74, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 34914 125493 699181456 53 OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(345, 32, 19) logical=(34913, 40, 18)
Partition 3 has different physical/logical endings:
phys=(324, 77, 19) logical=(125492, 109, 49)
Partition 3 does not end on cylinder boundary.
/dev/sdc4 ? 90338 90339 10668+ 49 Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(87, 1, 0) logical=(90337, 81, 36)
Partition 4 has different physical/logical endings:
phys=(335, 78, 2) logical=(90338, 176, 44)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Anybody with any idea what went wrong here? Should I format the USB stick in linux?
looks good to me sdc is an incrypted windows partion. If it isn't then it needs to be
dosfsck -f -r /dev/sdc but this looks like a fresh install and the program wrote the fstab as it was seen. if dosfsck -f -r /dev/sdc does not repair then it is encrypted.
my choice would to wipe out all the non linux partions and use all linux.
if you cfdisk /dev/sdc it will return bad block or bad stuff. and if you try to fdisk /dev/sdc and it does not work it is encrypted. you will need to use the program that encrypted it to fix or repair or format. good luck.
I get a black screen with: "FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk: Press any key to exit cfdisk"
So this means that the USB is a FAT32. Should I re-format it as FAT32 with Kubuntu's partition editor, because I have no idea what programme formatted it initially --- just bought it now. I would like the stick to be read by a Winblows machine as well, hence the vfat-like type I want.
ok here is the problem the only time I have ever seen an out put on a drive like that was a usb flash pen. and I had to /fdisk/ /dev/sdc/
and delete all the partitions then create a new one then format it as 0b
b win 95 32 then your done now windows can use it and linux can use it.
if it does not take then you have to reformat it with windows and the company's software.