sees only a 6MB partition on usb stick with Centos 7
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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sees only a 6MB partition on usb stick with Centos 7
Hi,
I've written a Centos 7 on a usb stick with Rufus. On Mac OS and on Windows I can only see a 6MB partition the label of which says "ANACONDA". The usb stick works all right, I have already installed Centos from it. The question is, why does this happen? Why can't I see the bigger partition?
I'm not sure why you can't see the bigger partition but you can use the command fdisk -l (small letter L) while you have Centos up and running to view all partitions.
Maybe there is something proprietary on your Mac that prevents you from seeing the partition because Mac doesn't recognize it. (guessing)
The 6 MB partition is labeled ANACONDA?
-::-Anaconda is the installer for Centos so I find that odd.-::-
Out of interest, I also encountered this same "problem" when I installed a Debian and CentOS installers on my USB stick. I can't find the technical explanation why my Windows (8.1) can only recognize a small partition of the USB stick, but it appears that it's the case with USB devices which have Linux installers on them.
When you format the drive (still using Windows), you will still get the small size. You still need to plug it to your Linux machine and fdisk to wipe it clean so you can see the whole USB disk size in Windows.
I'm not sure why you can't see the bigger partition but you can use the command fdisk -l (small letter L) while you have Centos up and running to view all partitions.
Maybe there is something proprietary on your Mac that prevents you from seeing the partition because Mac doesn't recognize it. (guessing)
The 6 MB partition is labeled ANACONDA?
-::-Anaconda is the installer for Centos so I find that odd.-::-
There's nothing proprietary on the mac that could interfere. On Windows disk manangement it says that the partition is unallocated. As I was saying, given that the Centos works, I don't have a problem with it, I would just like to understand why this is happening.
On the other hand, I would like to still use the usb for copying files while still being bootable. That wouldn't hurt.
Hybrid images contain their own master boot record so the entire flash drive is overwritten including the partition table. Therefore the drive will appear to be smaller than its actual size. As stated if you delete and recreate the partition table then format the drive it will be back to "normal".
Windows won't see any partition except the first on a flash drive, at least a standard install of windows. There may be some convoluted way around this some windows user could explain. It doesn't matter what filesystem the second/third, etc. partition are, windows or other. Check the links below. With a standard drive attached by usb port, windows will show all partitions.
Thank you all for your answers. You've offered a lot of ideas. I inserted the stick into a Cent OS computer. When I run fdisk -l, the two partitions show up twice, once as /dev/sdb1 and /dev/sdb2, and secondly as /dev/sdb1p1 and /dev/sdb1p2 respectively.
The first partition, which is the big "missing" one is "Empty". This is what it says under the "System" column. For the second one, it says EFI (FAT-12/16/32). So I probably wrote the disk using the UEFI option. So what is happening exactly, why is this happening? Does anyone know?
I've written an isohybrid image of several distributions. All appear to have a small partition and a larger EFI partition. That's just the way the partition table looks. However, from Linux, other partitions can be added with fdisk. It's probably because the bootloader is in that region of the disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.