Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
hi i have a asus eee and i see this partition. anyone kow what it is or how to view the files on it:
Code:
[liveuser@localhost ~]$ sudo fdisk -l /dev/sda
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x08fbdfc3
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 167782859 167782797 80G 7 HPFS/NTFS/exFAT
/dev/sda2 167782860 298134269 130351410 62.2G 7 HPFS/NTFS/exFAT
/dev/sda3 298134270 312480314 14346045 6.9G 1c Hidden W95 FAT32 (LBA)
/dev/sda4 312480315 312581807 101493 49.6M ef EFI (FAT-12/16/32)
[liveuser@localhost ~]$ sudo mount /dev/sda4 sd-tmp
mount: /dev/sda4 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
i am trying to make room for another partition for a fedora install but i am not sure which partitions to delete. did m$ and a$u$ collude to make it difficult to dual-boot (whats the point of 4 oem partitions) ?
you can't boot your current system without sda4.
sda3 seems a factory restoration partition.
Neither sda3 nor sda4 will give you enough free space for fedora, so I wouldn't delete them.
I'd resize sda1 if it has enough free space to get some unallocated space for new partition (15-20Gb) if your drive has GPT partition table. If it is DOS-like partition table, you can't add new partition without repartitioning it totally.
[liveuser@localhost ~]$ sudo efivar -l
efivar: error listing variables: Function not implemented
Looks like it may not be EFI capable then (I could be sure if it was from Arch 'cos I know that loads gummiboot automatically in an EFI system).
It is unusual to see an EFI system running off an MBR disk but it is possible.
I would say it's probably safe to remove but I think I would probably leave it (just in caseŠ), shrink one of the Windows partitions and make an extended partition for Fedora.
thanks, i will probably delete sda2 and sda3 since they seem like wasted unused space... still not sure why all 4 partitions are necessary to be used up by the oem ?
You can have 4 primary partitions (like it partitioned right now) or 3 primary and one extended that may contain few logical partitions.
Since 4 partitions exists already, you can't add the fifth partition, whether it extended or primary.
To add new one you have to delete one of the existing.
You can have 4 primary partitions (like it partitioned right now) or 3 primary and one extended that may contain few logical partitions.
Since 4 partitions exists already, you can't add the fifth partition, whether it extended or primary.
To add new one you have to delete one of the existing.
Wrong/mistaken. I renamed a primary partition to Extended/Logical. Then resized it. Then added Linux.
Still have the Compaq partition layout that came with the drive. Nothing deleted.
Are these the partitions that were there when you got the computer?
Do you have windows 8 installed? If so, was it pre-installed?
If it has windows 8 and was pre-installed it is quite likely that it was installed using UEFI and your sda4 indicates an EFI partition. If that's the case, it will using GPT and you don't have the 4 partition limit. I think you can have up to 128 partitions but don't use it so am not really sure. Definitely more than 4 in any case but you would still need to shrink something as it appears these partitions are using the entire disk. It seems unusual to have the EFI partition as sda4 as it usually is the first partition although sometimes sda2. I would expect that sda3 is a Recovery partition and sda1 or sda2 would be the windows system, don't know what the other would be.
^ it had windows-7 oem. i havent touched it since i bought it. i just finished installing fc-21.
sda1 is the windows drive c:
sda2 seems to be some incremental restore point ?
sda3 seems to be factory restore (redundant)
sda4 is for boot partition.
@roky: didnt know you could change a primary partition to an extended without data loss.
Wrong/mistaken. I renamed a primary partition to Extended/Logical. Then resized it. Then added Linux.
Still have the Compaq partition layout that came with the drive. Nothing deleted.
At third partition I created a file named "foo".
Could you be so kind to instruct me, how do I rename sdc3 from primary to extended and create inside it a couple of logical partitions without losing my "foo" file?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.