UEFI/GPT Slackware64 14.1 install "no Linux partitions detected" error.
I would like to install Slackware64 14.1 on a Lenovo IdeaCenter with an i3 processor. The computer uses UEFI/GPT and has an already existing Ubuntu/Win8 dual boot setup. The idea was to run the Slackware installer from DVD and simply reformat the already existing ext4 partitions used by Ubuntu. Unfortunately, the system installer does not detect the ext4 partitions (although it does detect the swap partition). Instead, I get a "no Linux partitions detected" error from the installer.
Any ideas? UEFI/GPT is definitely not my strong suit. |
Launch the installer, then a soon as logged in as "root", do not type "setup" but type:
Code:
lsblk -o model,name,size,fstype If you want to ease the transcription, before typing that command you can insert an USB stick with e.g. a FAT formatted partition . lsblk will tell you its name. if it's e.g. sdb1 type Code:
mount /dev/sdb1 /floppy |
Quote:
Code:
MODEL NAME SIZE FSTYPE Quote:
Code:
GPT fdisk (gdisk) version 0.8.7 |
The command should have beed "gdisk /dev/sda/", sorry.
But to be sure, please do it again with these two commands Code:
fdisk -l /dev/sda |
If you are doing what I think you are doing, the SlackWare installer
will not show you any linux installed partions until you have set up a / partition. I've been caught in this several times. You will need to use gdisk to delete your old linux partition first, then reset it to type 83. Then you can go on with the install. |
Quote:
The output of "gdisk /dev/sda" will confirm or infirm this assumption. If it is confirmed you are right, the work around is to set the partition type to 8300 using either gdisk or cgdisk. @globbertrotterdk: in case you want to use /dev/sda7 as your / partition, it's too small IMO. Either just make one single partition plus swap (the simpler IMO) or if you want a separate /home, give at least 15G to /. On the long term, I think that an output of a lsblk command like the one I proposed in my first post would enhance the ability of /sbin/probe to properly detect Linux partitions or more accurately, partitions that are either of type Linux or currently used to host a Linux file system. |
@ Didier. That is correct. I have a root partition and /home partition. I can also confirm that your supposition is correct. I have seen the type "0700" partition earlier, when I ran cgdisk to take a look. I will confirm this by running the commands again when I get a chance later today. As you think my root partition is too small, probably the best procedure is to delete the partitions and create new ones the correct size.
|
Quote:
Also, is your firmware set up in EFI mode? If you see a GRUB screen when booting the installer, that is the case. It seems that you already have at least one EFI partition, probably /dev/sda2 and/or /dev/sda3 that are both equipped by a FAT32 file system. It is not completely impossible that one of them contains an EFI image used by Windows 8 and the other an EFI image used by Ubuntu. You can check the type of these partitions with gdisk or cgdisk, and also check their content mounting them one at a time as /floppy. Do not forget to umount /floppy before running setup. If I am correct the installer will pick the first EFI partitions it finds to equip it, else (but unlikely) if there is no EFI partition yet you will have to create one. Of course discard all I have written above if you see a Syslinux screen at boot: that would mean that your firmware is in Legacy mode thus you won't need an EFI partition to install Slackware. |
Here is the output of fdisk:
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes Code:
GPT fdisk (gdisk) version 0.8.7 Is the message from fdisk "Partition 1 does not start on physical sector boundary." something to worry about? |
Quote:
but that's maybe too old.... better read the recent thread starting with... http://www.linuxquestions.org/questi...0/#post5446586 |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:31 PM. |