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

learn more… | top users | synonyms

6
votes
1answer
3k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
6
votes
1answer
1k views

Is Ramdisk and initrd the same?

While reading through the kernel documentation on ramdisk in ramfs-rootfs-initramfs.txt i was having a doubt like the ramdisk explained there is same as the initrd features described in the post at ...
6
votes
2answers
2k views

Grub 'incompatible license' error

The other day, I was using a laptop for general desktop use when its keyboard began to act up. Most of the keys on the keyboard's right side stopped working entirely and key combinations such as Ctrlu ...
6
votes
4answers
1k views

Difference between bootable and non-bootable partitions

What is the difference between a bootable and non-bootable partition? I know that a user cannot boot a system from a partition marked non-bootable and can from one marked bootable. I want to know ...
6
votes
3answers
5k 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 ...
6
votes
2answers
1k views

mknod permanent in archlinux

I have a custom kernel module (on ArchLinux) that I can load manually and interact with. What I would like to do is have it loaded at boot time. So far I have managed to get the device appear in ...
6
votes
1answer
91 views

30 second gap in boot process

I did a full upgrade on my Debian system (jessie/sid). Unfortunately there is now a 30 second gap on the bootup and I really don't know where it comes from and where I have to look to find it. I ...
6
votes
2answers
222 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
2k 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
2k 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 ...
6
votes
3answers
2k views

FreeBSD 10 does not boot after clean install

Latest FREEBSD 10 does not boot after clean installation. Installed using this image: FreeBSD-10.0-RELEASE-amd64-memstick.img Used Guided Partitioning, where I selected my only hard drive, chose ...
6
votes
2answers
2k 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 ...
6
votes
1answer
2k 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 ...
5
votes
6answers
9k 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 ...
5
votes
5answers
559 views

Removing unused init scripts

On my Debian server, I have no network shares (NFS, SMB, ...). I am trying to optimize and simplify my boot process. Is it OK to remove the following init scripts? /etc/rcS.d/S12mountnfs.sh ...
5
votes
3answers
13k views

Installed Centos 7 after Windows and can't boot into CentOS

I wanted to setup a dual boot for Windows 7 and CentOS 7 I had a Windows 7 machine with 500GB disk. I shrank the Windows partition to provide space for CentOS 7 (roughly 230GB). I created a USB ...
5
votes
2answers
2k views

Human readable dmesg time stamps on OpenWRT

The output of dmesg shows the number of second+milliseconds since the system start. [ 10.470000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 14.610000] device eth0 entered ...
5
votes
1answer
505 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
9k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
5
votes
2answers
646 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
2answers
804 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
1answer
8k 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
150 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
3answers
3k views

Does initramfs use /etc/fstab?

The way I understand it, initramfs is responsible for loading the "real" root filesystem. Now, there are two places where we define that root. First we put an entry in /etc/fstab. Second, we put the ...
5
votes
1answer
11k views

How to create bootable flash for “efi-shell”

Current Intel server chipsets include a built-in "efi-shell" which appears to basically be a simplified 'NIX with a command set suitable for manipulating some nifty UEFI boot options. It is also the ...
5
votes
2answers
265 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
8k 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
406 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
22k views

How to fix boot into initramfs prompt and “mount: can't read '/etc/fstab': No such file or directory” and “No init found”?

Installing a new system using a GPT partitioned disk dedicated to a single partition, ext4 formatted, extlinux (version 4.05) as bootloader, Ubuntu Core version 13.10 amd64 as rootfs, and Ubuntu ...
5
votes
2answers
3k 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
1answer
175 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
762 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
3k 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
2k 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
2k 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
13k 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
3answers
6k views

Kernel panic - not syncing: No init found. While booting from U-Boot

Kernel mounted the root file system but can not find any init script. I'm sure that script exists in my ramdisk.img! I also checked out this and GE863-PRO3 U-BOOT Software User Guide 1VV0300777 Rev. ...
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
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
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
3k 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
349 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
279 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
2k 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 ...