Bootloader issues: what happens before the operating system itself starts.

learn more… | top users | synonyms

6
votes
2answers
130 views

Location of the kernel binary (when not in /boot)?

I failed to find the kernel binary in the standard location in /boot. I've also searched the whole file system for vmlinux or bzimage find / -iname vmlin* find / -iname bzimage However, this is an ...
6
votes
3answers
1k views

Is there a way to speed up boot time by loading things into RAM immediately?

I'm looking to lower my boot time by whatever means possible. I have about 8GB of RAM in my laptop, and if there's any way I could leverage that into faster boot time, that'd be awesome. Is there a ...
6
votes
1answer
1k views

How to set keyboard layout used to enter password on an encrypted filesystem?

After my upgrade to Debian 6 (Squeeze), the keyboard layout used to enter the password of encrypted filesystem has been changed. How can I revert it back to previous one? My understanding is that, ...
6
votes
3answers
1k views

How to make UEFI bootable usb disk from bios bootable iso

Suppose you have an iso image that contains a bios bootable partition. You can write this image to a usb disk In linux you could do this for example with dd if=pmagic_2013_02_28.iso of/dev/sdc1 ...
5
votes
2answers
6k views

Why do iptables rules disappear when restarting my Debian system?

I add this rule: sudo iptables -t nat -A OUTPUT -d a.b.c.d -p tcp \ --dport 1723 -j DNAT --to-destination a.b.c.d:10000 When restart computer rules are deleted. Why? What I can do to make ...
5
votes
1answer
265 views

How to boot FreeBSD system with broken bootcode?

I have an HDD (or SSD, or flash drive) with FreeBSD installed on it, and somehow I broke the bootcode (first 446 bytes of MBR). How could I boot into this FreeBSD?
5
votes
2answers
608 views

Resources for very low-level (board bring-up)

I've worked with a few embedded systems, but now I'd like to make my own piece of hardware and despite a pretty thorough knowledge of Linux, I have no idea how to get Linux up and running on new ...
5
votes
1answer
6k views

How can I autologin to desktop with systemd?

How can I configure systemd to automatically log me in to my desktop environment, preferably without using login manager? I'm using Arch.
5
votes
1answer
95 views

How to install an old version of OpenBSD inside VirtualBox?

I'm reading an old Phrack article and I would like to install OpenBSD 3.0 inside VirtualBox. I remember installing this very version using actual physical floppy disks in 2001, but nowadays I don't ...
5
votes
2answers
468 views

Best way to set serial port speeds on boot?

I've got instruments hooked up to /dev/ttyS1 through ttyS9 on a machine running Debian Wheezy. The various instruments communicate at various speeds. Is there a better way to set the baud rates than ...
5
votes
2answers
256 views

Should I use LILO or GRUB or other?

I am making a netinstall DVD which will have netinstall for 10 different Linux distros on it. I will need to install a bootloader on the disk so I can choose which distro I want to install. Which is ...
5
votes
3answers
7k views

How to run a program on boot up?

So I have this program which I manually run as root : sudo gammu-smsd -c /etc/gammu-smsdrc -d What this does is it runs the Gammu (software to manage gsm modems) and 'daemonize' it. My problem is ...
5
votes
1answer
359 views

Is there a BSD operating system that can be booted off a logical drive partition?

From several BSD operating systems' documentation, there is a requirement for it to be booted off a primary partition. Is there any BSD that can be booted off a logical partition in some indirect ...
5
votes
2answers
2k views

How to recreate EFI boot partition?

I've installed Fedora on my machine with / partition, swap partition and ESP partition for EFI booting. Now, I was installing Elementary OS instead of Fedora. I have formatted the / partition ...
5
votes
3answers
3k views

How to get rid of the “scanning for btrfs file systems” at start-up?

After upgrading from Ubuntu 12.04 to Ubuntu 12.10, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds. How ...
5
votes
3answers
9k views

How to set global environment variables at boot through a script, and have them available for an application that runs before login?

I have a service that runs at boot, and in that service it calls a bash script in the background that exports some environment variables. The problem I'm having is that those environment variables ...
5
votes
1answer
133 views

Deploying filesystem images onto a partition of arbitrary size

I would like to establish a deployment process for Ubuntu machines based on root FS images. I would like to restore the image onto a simply-formatted hard drive (I can completely erase the disk during ...
5
votes
3answers
556 views

Find out if computer started via Wake-on-LAN or power button?

Is there any (reliable) way to find out if the PC booted because of a Wake-on-LAN Packet instead of pressing the power button? I want automatically check if WOL is correctly configured. I know about ...
5
votes
2answers
2k views

After Arch Linux install it just shows the text “No bootable device found”

I've been trying to install Arch Linux. After the installation, it shows the BIOS screen and after that there just comes a message that says "No bootable device found". I have retried the whole ...
5
votes
3answers
1k views

Does /init (or /linuxrc) script creates temporary device nodes in /dev?

Considering that GRUB executes following lines: kernel /vmlinuz root=/dev/sda1 ro initrd /initrd On boot, how does the Linux kernel finds out about /dev/sda1 device node? I know that ...
5
votes
2answers
1k views

Booting a newly compiled linux kernel

I have started reading the book Essential Linux Device Drivers. I am following the process for compiling and booting into a new kernel. However I am unable to boot into the newly compiled kernel - I ...
5
votes
3answers
10k views

How to boot Debian into text mode without using GUI?

How can I boot Debian into text mode? My mouse and keyboard are working in GRUB, but when the login screen appears they don't, so I can't do anything.
5
votes
2answers
2k views

How to manually manage grub.cfg for Grub2?

I am setting up my system. The features of it are: GPT partition table (not sure how important this is) Triple boot - Gentoo, Debian and Mint. Custom kernel (kernel git repo) shared amounst distros. ...
5
votes
1answer
3k views

How can you get console backgrounds for Arch Linux?

I have tested out openSUSE and found that the tty1 is a bit different from other systems as the tty has got a background. I know that Knoppix has a tux penguin for each core the computer has, but I'm ...
5
votes
1answer
2k views

Unable to boot Chromium OS from USB drive

I have tried both my own builds of Chromium OS and Hexxeh's daily Vanilla builds, and neither work. I copy them over to my flash drive, but when I try to boot from it, nothing happens except my ...
5
votes
1answer
2k views

Getting an existing Linux installation from one computer to boot on another

I have an existing Dell Precision 690 workstation setup to dual boot Windows XP and CentOS 5.5. These operating systems are installed on two separate drives. I have a grub menu on the Linux drive with ...
5
votes
1answer
254 views

How to specify an ISO as the location of root filesystem for GRUB?

I'm trying to understand the Debian "booting from Hard Disk" installation manual. The process is as follows: I copy a kernel image, a ramdisk initrd and an ISO with installer to the hard drive and ...
5
votes
1answer
226 views

What does the “00:00:00” timestamp mean in kern.log?

I'm looking for causes of a particular problem in kern.log. There are many entries with a 00:00:00 timestamp: Jun 11 00:00:00 mymachine kernel: [ 0.000000] Initializing cgroup subsys cpusetJun 11 ...
5
votes
1answer
1k views

How to mount iso9660 filesystem as read write

Hey my iso file won't accept device files so I was wondering how I could mount a cdrw with an iso9660 filesystem as read write to copy device files to the cdrw.
5
votes
1answer
3k views

Fedora 17 : Cannot open font file True

Each time I login to Fedora 17, no GUI, just a console, I notice this error: Cannot open font file True I have followed some tutorial on web to fix this problem, but still cannot. Here some steps ...
5
votes
1answer
1k views

degraded software raid boot

I've installed Ubuntu 12.04.1 in a new server and set up the 4 hard drives with 3 RAID 1 devices, the configuration is such that the first two drives have md0 (swap space) and md1 (/) with the third ...
5
votes
2answers
1k views

Red Hat cannot boot after clone with dd

I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Disks are sda, sdb and sdc(sdc1 and sdc2). But newly restored server gives following errors and ...
5
votes
1answer
1k views

Silent booting Linux from u-boot

For security reasons I have to boot Linux from u-boot with all output hidden (silently) until a password is entered. I've configured uBoot to do this correctly using the CONFIG_AUTOBOOT_KEYED macro ...
5
votes
2answers
1k views

How to boot from iso with Grub2/Burg boot loader

I'm using Ubuntu as my primary OS and alternative is Windows 7 for gaming, and another stuffs. I want to have menu to boot some live CD ISO. Is there anyway to make menu entry in Grub2/Burg to boot ...
5
votes
0answers
36 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
5
votes
1answer
251 views

UEFI boot Fedora from USB 2.0 on 3.0 port (l75d-a7280)

I'm trying to make a bootable usb in ubuntu for fedora, but my settings are not working. I formatted the USB with FAT & Ext4, MBR, and Legacy BIOS bootable. My BIOS allows the USB 3.0 controller ...
5
votes
2answers
1k views

Which Bootloader is Used on a Chromebook?

I installed ChrUbuntu on an Acer C7 Chromebook, and I am able to dual boot Ubuntu 12.04 and ChromeOS and to control which OS loads by default. I tried to edit the /etc/default/grub file and did run ...
5
votes
1answer
403 views

SquashFS image as rootfs in LXC

Is it possible to use a SquashFS filesystem as an LXC rootfs? I can mount an ext3 image as a rootfs just by setting lxc.rootfs to the filename, but if it's any other type of image, lxc-start just says ...
5
votes
1answer
1k views

Booting a file system image from a HDD using GRUB2 with persistence

How do I preserve changes I make to files when running an operating system that is booted - using GRUB2 - from a file that contains a file system. I managed to get GRUB2 to boot an image file that ...
4
votes
6answers
8k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
4
votes
1answer
776 views

Booting without initrd

Is it possible to boot linux without a initrd.img ? I am planning to add default drivers as a part-of-kernel itself and avoid initrd completely. What are the modules that should be made ...
4
votes
2answers
1k views

Multiple root options in Linux command line

My kernel command line looks like this: root=31:0 ro noinitrd console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs I think the first root entry identifies a disk by its major and minor ...
4
votes
2answers
229 views

ERROR: Root device mounted successfully, but /sbin/init does not exist

I've installed Linux Mint and Manjaro Linux on my computer. I installed only the Linux mint on the MBR. For Manjaro, I created a /boot/efi partition, but I have not checked to install to MBR. So, I ...
4
votes
3answers
1k views

Boot Linux system from a subdirectory on a partition?

I would like to try to set up a computer so that it has multiple Linux installs all in the same filesystem. For example, the filesytem would have 3 folders: /Ubuntu_Precise, /Ubuntu_Oneiric, and ...
4
votes
3answers
3k views

How to optimize Arch linux boot time?

I've had Arch Linux installed on my system for a while now, but the problem is that it takes way too much time to boot. And so, I'm trying to optimize the boot process. A Google search led me to ...
4
votes
2answers
208 views

How do I make sure grub is only installed once?

I currently have Windows on one partition, and Ubuntu on another. I'd like to install Quimo, and possibly Mint and/or Lubuntu as well. How do I make sure that only Ubuntu has Grub, and that the ...
4
votes
2answers
114 views

grub on floppy to rescue CD boot chain

I am having trouble figuring out how to have grub installed on a floppy in a way that it automatically boots a modified Ubuntu 12.04 CD on startup. I will settle for knowing some commands at the grub ...
4
votes
1answer
147 views

What does this [number] beginning many lines during the Linux boot screen represent?

My Linux sandbox boots into the text mode. During the boot process many lines are prefixed with a number between brackets ie. [40.000] Normally this number reaches upwards to 80. Recently I've noticed ...
4
votes
1answer
6k views

Where do I find messages regarding last failed linux boot?

My linux boot fails often. I have removed quiet from my boot options so I can see whats going on. Basically after showing a bunch of [pass] messages, it hangs. It does not hang every time. Now I know ...
4
votes
3answers
1k views

Installing Fedora from USB key

How do I load a Fedora DVD iso onto USB so I can install it from there. I've tried dd as in here: Fedora instructions but for some reason this didn't work. Here's what I've tried: sudo dd ...