Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
I'm trying to do a fresh install of 13.1 and it doesn't seem to want to work. The DVD starts up and I can set up my partitions and enter setup. It starts installing the packages but inevitably ends up saying "there was a fatal error attempting to install package..." and continues to say this for each package until the setup quits. I've tried installing both the x86 and 64 bit versions and they both do the same thing. I've also tried installing the packages from another partition. The md5sums are valid. 13.0 installs fine from the disk (except no support for my sound or trackpad out of the box ).
One thing I've noticed is after I choose the partition in 13.0 setup and then "quick" formatting, I'm brought to a screen that says it's formatting the drive however in the 13.1 setup it just moves immediately to the fstab setup screen.
Does anyone have an idea why these setups may not be working? Btw I've run memtest86+ with no errors.
Faulty media is the only thing I can think of too... especially since they're cheap DVDs. The only thing that makes me think otherwise is that the errors happen when trying to install from packages off another partition as well... Unless the problem exists in the actual boot from the DVD or the menu system.
Regardless, I'll pick up some better quality DVDs and try it out again.
Ok, I tried again with another brand of DVD at 2x DVD (which is the slowest my burner will burn at) and it did the same thing. This ALSO did not show a formatting screen when I told it to format. Is that normal for 13.1? Any other ideas I could try?
Edit: also this time when it failed out, there was an error "Package has not been created with makepkg"
Ok... here's what I've gathered from another night of fooling around...
First a little background. According to fdisk -l, my partition table looks like this:
/dev/sda1 - EFI partition (Pri)
/dev/sda2 - Mac OSX (Pri)
/dev/sda3 - Windows (pri)
/dev/sda4 - Extended Partition
/dev/sda5 - Linux Swap (Log)
/dev/sda6 - Linux ext4 (Log)
This is the way setup recognizes the partitions and the way that I intend it to be set up as well. Now, since it didn't seem like setup was formatting the partition correctly, I tried to run mkfs.ext4 /dev/sda6 and it said that the device could not be found. I tried mkfs.ext4 /dev/sda5 and it formatted what I thought was /dev/sda6 ( I could tell from the size). Then I did mkswap /dev/sda4 and it formatted what I thought was /dev/sda5 (again, from the size). Is this abnormal behavior or am I chasing my own tail? I feel like maybe setup is trying to install to some virtual drive created by the DVD bootloader and is getting filled.
This is all a bit of a dim and distant memory but I had some failures installing a previous Slackware system (12.2?) which sound a bit like this. Like you, I was trying to format and install on ext4 partitions. Iirc (and that's a capital I) the problem went away when I formatted the partition as ext3. I remember thinking at the time that mkfs.ext4 (or whatever tool I was using) was only pretending to do its job.
try re-downloading the images, also if your system boots from a usb stick and you got a 4GB laying around, save yourself a disk and copy the contents of the iso images to your stick change the isolinux.cfg to syslinux.cfg, and also rename isolinux folder to syslinux, install syslinux to your usb stick, and install from the usb stick. you have to mount the stick after you login as root, i just create a folder and mount it to that folder, during setup select "install from premounted directory" and type the /"directory you mounted"/"slackware or slackware64" depending on version and the install will be 10 times faster especially if you are using usb 2.0 hope this helps, i didnt go into deep details if you want them ill post em
I'm still unable to install 13.1. I haven't tried jong's solution yet as it seems a bit complex. I do feel that the root of this problem is from 'setup'. I'm wondering if there's a way to manually install the OS (including lilo). Is it as simple as running pkgtool for all the packages or is there little more to it?
Also other stuff to note: it seems to crap out around the phonon package so I tried unselecting the top half of the packages and installing and it was able to get past the phonon package easily. This is another reason it seems like an issue with 'setup' to me.
I feel like maybe setup is trying to install to some virtual drive created by the DVD bootloader and is getting filled.
Any input is appreciated!
First thing that came to my mind when you said the formating went so quick in the first post.
You can see what the installer sees if you do fdisk -l and/or cat /proc/partitions. And you'll notice that fdisk, sfdisk, cfdisk does not support GPT. The installer uses fdisk to get the partition layout. (See /sbin/probe )
From the cli, (GNU) parted is available, and supports GPT partitions.
I have no GPT partitions, so .....
If you felt like trying some things, perhaps hacking around on /sbin/probe to replace the lines like fdisk -l /dev/sdb >> $TMP/SeTfdisk with parted -l instead? You can do this with a text editor before you run setup.
You can explore the setup script(s) n /usr/lib (for both i486 and x86_64) on the install disc.
Ok, so in the meantime I've installed Ubuntu (with no problems). If I'm not wrong, Ubuntu uses GParted during its installation which includes GPT support.
There are other posts with similar issues on the forums with previous versions of Slack, however they all seemed the point to the kernel not including EFI support. Looking at the config file for huge.s on my install DVD, CONFIG_EFI=y and CONFIG_EFI_PARTITION=y which I would assume means that huge.s on the DVD is compiled with EFI support.
Here is my current fdisk -l output:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee GPT
/dev/sda2 * 26 32123 257818624 af HFS / HFS+
/dev/sda3 32123 36998 39162991 7 HPFS/NTFS
/dev/sda4 36999 37061 498688 82 Linux swap / Solaris
and here is the output of a print command in parted:
Model: ATA FUJITSU MJA2320B (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 264GB 264GB hfs+ Untitled
3 264GB 304GB 40.1GB ntfs BOOTCAMP boot
4 304GB 305GB 511MB linux-swap(v1)
5 305GB 320GB 15.2GB ext4
Which to my knowledge would prove that the kernel includes GPT support and that this is a limitation of setup/fdisk. When trying to run setup with my partitions like this, it warns that I do not have a Linux partition, however it does see the swap partition. Trying to replace 'fdisk -l' with 'parted -l' in /sbin/probe did not work. Does anyone know how have setup use parted or have any other suggestions of what to do?
Also, something else I just thought about. Why might you think that setup works flawlessly on my 13.0 DVD after simply using cfdisk to make partitions?