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.

I just bought a Acer Aspire M5 481t-6617 ultrabook and I cant stand this win8 bullshit, so my first option is my desktop distro (slack)..

I could not find any information on the model itself about drivers on the linux kernel and Im not sure if the stuff the comes with it will work properly on slack (and his vanilla(?) kernel), keyboard backlights, webcam, dvd drive, the wierd keyboard, the touchpad... but I dont care, I'll deal with that later..

Now on the bios I saw that there is UEFI and it is enabled, so Im thinking only desabling it and putting on legacy boot would do the trick for me? should I try to run slack under uefi?
I found this http://docs.slackware.com/howtos:sla..._uefi_hardware but to be honest, Im scared of trying..

Anyone can tell me their experiences with the uefi thing and theres a way to know for sure the if features on the ubook will work ?

The features are all likely to work fine. If you have Windows 8 and want to keep it, start by hitting (windows key) + X, select the disk management program, and resize the windows drive to make some free space for the Slackware installation. Boot the x86_64 Slackware install disc under the legacy boot mode and with Secure Boot turned off (probably you'll want to leave it off anyway). The installer handles GPT fine, so make your partitions using cgdisk. If you made a swap partition, run mkswap on it before running setup, and then proceed to install as usual. Skip the LILO installation.

Last step is probably the tricky one, but not too bad. It might be easier to do from the installed system than from the installer since you'll have network access there. Leave the machine in legacy boot mode for now, reboot the install disc, and use it to boot the installed system. Then, find the EFI boot partition. This is a smallish FAT partition with an EFI directory that contains a Boot and Microsoft directory. Make a slackware directory in there, and put your kernel (and initrd if you use one) in it. Download the elilo sources, and install the prebuilt 64 bit EFI elilo binary in /efi/slackware/. elilo.efi is a good name to give it. Last, you need an elilo.conf config file. The syntax is similar to lilo.conf. Here's an example I'm using here (still giving a few errors yet, but it works):

Now you can put the machine back in UEFI mode (without Secure Boot). To boot Linux, you'll need to use UEFI to add a menu selection that runs elilo.efi. Alternately, most UEFI implementations will allow you to boot from a file, in which case just browse the EFI partition to find elilo.efi and run it. When elilo boots, you might need to hit tab and type slackware to get it to go.

I will note here luz...it may not be so easy. The SecureBoot can be disabled and still prevent it from booting to a CD.

In most cases it means looking up the manufacturer's info on the specific make and model and find out if the BIOS can be changed to allow CD boots or if you have to re-flash the bios to something that will allow it.

Doing a bare metal install the slackware64-14.0 dvd booted and installed automagically on an AsRock Z77 Extreme4 without any modifications to UEFI. Then I simple made a efi partition as PV describes and it was easy-peasy from there.

Doing a bare metal install the slackware64-14.0 dvd booted and installed automagically on an AsRock Z77 Extreme4 without any modifications to UEFI. Then I simple made a efi partition as PV describes and it was easy-peasy from there.

Really? I didn't think any UEFI implementations could boot an ISO9660 or UDF disc (at least not by accessing those filesystems). I'm using Tianocore booted from a USB stick to emulate UEFI though (so far, anyway... hoping to see prices on machines that don't suck come down a little). Discs I've seen that can boot on either BIOS or UEFI are crazy hacks that have a hidden FAT EFI partition on them and both MBR and GPT partition tables. I'm still not sure that we'll go to that extreme. I'd be happy to get a working USB installer image, but I'm not sure how well that's going to work without some other kind of trick. GPT expects a secondary table at the end of the drive, but probably a bootable USB image isn't going to be the same size as whatever stick it is written to.

Funny story. On the UEFI I'm testing with, until the kernel loads the KMS video driver and initializes the framebuffer console, there's no video. So when my tests began, I was running blind. I spent a couple of days trying to boot an installation from a GPT stick with an EFI partition, the huge kernel, and elilo. Every time it would hang, and since there wasn't any video yet I was left to guess why. First I thought the elilo.conf had a bug somewhere, then considered that maybe the huge kernel was too big (ran into that with LILO a few years back). I could get the huge kernel to boot the installer, and could get generic+initrd to boot the installation. I booted the installer (which still doesn't have the video support) and typing with no video tried to mount the root partition on /mnt, and run "touch /mnt/tmp/kilroy" just to prove I'd been there. When I checked on the system, it wasn't there.

That's when it occured to me that the huge kernel was probably giving /dev/sda to the USB stick. I booted the installed system again with the huge kernel but this time pulled the stick out as soon as the kernel loaded, and the system booted fine that time. Probably time to move the USB modules out of the huge kernel... or maybe even get rid of that thing, finally.

Probably time to move the USB modules out of the huge kernel... or maybe even get rid of that thing, finally.

Should we consider this sentence as an RFC? If yes I'd personally be happy with only generic kernels, as long as the drivers for the FS proposed by the installer for / are built-in.
Of course assuming that auto-loading of the needed modules works. This is true for my laptop but I must admit that this is a very small sample of your users base

I'm using Tianocore booted from a USB stick to emulate UEFI though (so far, anyway... hoping to see prices on machines that don't suck come down a little). Discs I've seen that can boot on either BIOS or UEFI are crazy hacks that have a hidden FAT EFI partition on them and both MBR and GPT partition tables. I'm still not sure that we'll go to that extreme. I'd be happy to get a working USB installer image, but I'm not sure how well that's going to work without some other kind of trick. GPT expects a secondary table at the end of the drive, but probably a bootable USB image isn't going to be the same size as whatever stick it is written to.

Is this something anyone would be interested in contributing to a 'kickstarter' style project for? I'd happily kick some money in to buy Pat his choice of UEFI machine, if it means that the laptop I buy next year will install Slackware 14.1 that much easier..

Is this something anyone would be interested in contributing to a 'kickstarter' style project for? I'd happily kick some money in to buy Pat his choice of UEFI machine, if it means that the laptop I buy next year will install Slackware 14.1 that much easier..

Thanks (really!), but so far it's working here to load UEFI from a stick. I think that will get things to where people out there can do some testing on machines with UEFI on the motherboard. Besides, I suspect that public hatred of Windows 8 will result in a glut of cheap used machines on eBay before too long.