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

learn more… | top users | synonyms

5
votes
1answer
2k views

How can you schedule a computer to boot at a specific time?

Usually BIOSes have an option to schedule a time to which to boot at. Is there a Unix/Linux interface to specify the scheduled boot?
5
votes
1answer
158 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
553 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
5k 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
2answers
277 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
18k views

Booting linux from usb using EFI

I need to use a USB drive as an installation media for my Mint and Ubuntu. For that I have unetbootin to make the usb bootable. But my PC only supports EFI boot (while adding the boot device, I need ...
5
votes
3answers
6k 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
309 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
1k 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
8k 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
103 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
2answers
1k 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
1answer
8k views

rpcbind-“warning” on boot

On my debian testing system, I get these messages in my /var/log/boot file: Starting rpcbind daemon...rpcbind: Cannot open '/var/run/rpcbind/rpcbind.xdr' file for reading, errno 2 (No such file or ...
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
185 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
863 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
2k 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
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
1answer
219 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
345 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
6k 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
750 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
943 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
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
2k 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
184 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
86 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
138 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
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 ...
4
votes
3answers
589 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 ...
4
votes
1answer
228 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 ...
4
votes
2answers
420 views

Can applications like VirtualBox run at startup without any users logging in ubuntu?

This question comes to mind because we are tinkering with the idea of going VM with some of our servers. KVM is a bit involved, VMWare acts like they want to be a free product, and Microsoft is just ...
4
votes
1answer
2k views

Enable num-lock as default in Linux

There has been a similar question - but IMHO there has to be a simpler solution. If num-lock is on in the BIOS - why is it turned off during linux boot and/or KDE/Gnome/whatever startup?
4
votes
1answer
562 views

Is it possible to boot an x86 Linux kernel using both 80x25 text mode consoles and VESA framebuffer consoles?

The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80x25 text mode consoles. For text application testing purposes, one may need both ...
4
votes
1answer
329 views

How does Ubuntu lock my Live USB?

I notice that, after booting from my Live USB (with Ubuntu inside) and shutdown, I won't be able to boot it again, unless I unplug the USB and plug it in again. Is this a side-effect of something, or ...
4
votes
1answer
129 views

Use boot parameter to perform certain actions after boot

I'm asking myself if I can use Grub 2 to tell the Operating System which actions to perform after boot. Background: I have a HTPC with Debian Wheezy installed. Sometimes I want to use the System as a ...
4
votes
3answers
1k views

Partitioning EFI machine with two SSD disks in mirror

I have two SSD disks, I want to put them in a software mirror RAID. But whatever I do the OpenSuSe installation keeps telling me that due to the partitioning scheme he won't be able to install the ...
4
votes
1answer
157 views

Does GRUB consider partition order when looking for config files?

I have a HD which has 3 partitions, in the following order: NTFS FAT32 FAT32 (very small) I want to install GRUB into the MBR of the HD, and place the config files (menu.lst, etc.) into the 3rd ...
4
votes
2answers
644 views

In linux console (no X), how to stretch console screen to fit monitor

Google could not help me with this problem. I hope you guys can. When I boot my computer, the first few screens presented to me by BIOS and boot menu are stretched to fit the LCD screen. Once Linux ...
4
votes
2answers
2k 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 ...
4
votes
3answers
395 views

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

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 ...