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

learn more… | top users | synonyms

4
votes
1answer
41k views

How can I fix/install/reinstall grub?

So I started out with a 250GB HDD, the stock drive from an EeePC 1015pem that I am trying to turn into a MintBook. The drive is physically operable, but all data has been nuked, including the old OS. ...
11
votes
2answers
11k views

Bash Script on Startup? (Linux)

Is there any way to make/run a bash script on reboot (like in Debian/Ubuntu for instance, since thats what my 2 boxes at home have) Also, any recommended guides for doing cron jobs? I'm completely ...
36
votes
8answers
24k views

SSH to decrypt encrypted LVM during headless server boot?

When I installed Ubuntu 10.04 and, now, 10.10, I was offered the option of enabling "encrypted LVM" for my hard drive. After choosing that option, I am prompted for my password during boot to decrypt ...
9
votes
6answers
17k 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 ...
14
votes
4answers
4k views

discribe in details tha boot process of any linux system

I am preparing a document in detail showing light on the boot sequence of Linux right from pressing of Power-on button the host to the login prompt appearance. It would be great if we could combine ...
12
votes
4answers
10k 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 ...
7
votes
1answer
3k views

Fedora 17 Freezes on Boot

I have been having issues with Fedora 17 not booting after the latest round of updates. I am able to enter the pass for my disk encryption, the boot logo acts normally but after the animation is ...
4
votes
3answers
7k views

Can't create a bootable (live) usb flash for arch linux

I created a bootable usb from which I was going to install Arch. I did this the following way: sudo dd if=/path_to_arch_.iso of=/dev/sdX But when I tried to boot from this usb flash, I failed. ...
9
votes
4answers
29k 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 ...
3
votes
2answers
7k views

Arch Linux not booting after system update

After running a system update pacman -Syu with the testing repo not commented, my computer no longer boots. It shows the udev loading, then shows a black screen with a cursor blinking in upper left. I ...
1
vote
1answer
4k views

Run gui application on startup

I can run a script at boot by adding the following line to my crontab: @reboot perl /path/script That works fine. But the problem arises when I try to run a gui application such as gmail notify. It ...
1
vote
1answer
204 views

debian services not running

After an unexpected restart my debian machine is booting up to a terminal screen instead of gui. I'm not sure what to do to diagnose the problem.. but I've noticed that all of the services in ...
29
votes
3answers
91k views

How can I make a script in /etc/init.d start at boot?

I think I read something a while back about this, but I can't remember how it's done. Essentially, I have a service in /etc/init.d which I'd like to start automatically at boot time. I remember it ...
30
votes
5answers
27k views

Why does Linux allow ‘init=/bin/bash’?

I recently found out that if I edit GRUB before booting and I add rw init=/bin/bash I end up with a root shell. Being in a condition that I want to understand everything I would like to know why this ...
13
votes
1answer
2k views

mistakenly deleted /boot folder and rebooted

I mistakenly deleted the /boot folder from my filesystem, rebooted, and all I get now is this: error: file '/boot/grub/i368-pc/linux.mod' not found. grub rescue>
14
votes
1answer
11k views

How can I test the RAM for data corruption on an ARM-based system?

I have an embedded device. It is ARM based, with Linux 2.6.31 and has 256 MB RAM. I wanted to get some ideas/tips on what is the most effective way to test the device RAM for data corruptions. Is ...
11
votes
3answers
25k views

What is the “Bootable flag” option when installing a distro?

Is the "bootable flag" needed in today's distributions? If not, then Why is it still in the installers? What is it exactly?
21
votes
7answers
982 views

Why do most distributions chain UEFI and grub?

Most distributions install a additional boot loader on an UEFI system. UEFI itself is a boot loader, it offers a menu to select different operating systems or individual kernels. Furthermore, the UEFI ...
10
votes
1answer
5k 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?
9
votes
1answer
3k 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?
8
votes
3answers
24k 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.
7
votes
1answer
5k views

UEFI install (14.04) boots to GRUB command prompt, no GUI

I just installed zorin 9 core (14.04) on my Hard-Disk in UEFI mode. But, when I boot, all that comes up is a GRUB2 command line. I've searched for solution and came up with this command configfile ...
4
votes
2answers
3k views

Iso booting with grub2

I am using Linux Mint 10, and it is installed on sda8. I edited /etc/grub.d/40_custom: #!/bin/sh echo "Adding 40_custom.">&2 exec tail -n +3 $0 # This file provides an easy way to add custom ...
3
votes
1answer
373 views

Create wireless access point and share internet connection with nmcli

How can I create a Wi-Fi hotspot with command line tool nmcli and share the ethernet internet connection to the wireless access point? Furthermore how can I start this automatically at boot? Is that ...
1
vote
5answers
4k views

I deleted files from my Linux box's /boot directory and now it won't boot [duplicate]

I deleted files from /boot to save space, but now when I boot I see: GRUB loading, please wait ... ERROR 15 /boot still has files corresponding to the 2.6.32-27 version of Linux. But I deleted ...
7
votes
1answer
3k views

after BIOS splash, will not boot, asked to select OS, but can't

I'm running Linux Mint 13 MATE 64-bit. Everything has been working for several weeks. Yesterday, when I tried to boot up my computer, after the BIOS screen flashes I reach a screen with a black ...
6
votes
3answers
8k 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
2answers
266 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
4k views

Solaris 10 boot from cd-rom

I am trying to start up my solaris server using the newly downloaded iso written on a CD. The iso name is sol-10-u9-ga-sparc-dvd.iso When we started the server, logging in as root then tried to boot ...
3
votes
2answers
59 views

How does Grub Stage1, exactly, access/load stage 2?

This is my first ever question, I have put this question in front of Red Hat Instructors but didn't find any satisfying answers. I'm using RHEL/CENTOS6, GRUB Legacy 0.97, and have consulted heaps of ...
3
votes
1answer
788 views

Can't get past EFI to install RHEL on HP Itanium Server

When I am trying to install RHEL (6.3, 5.8, 4.8) on an HP Integrity Server rx2660 Itanium with 4GB RAM, I keep getting to the same point which is Loading file efi\boot\initrd.img...done After that ...
3
votes
2answers
2k views

Creating a boot splash screen

I've been designing a Linux distro and trying to incorporate a nice user experience into it in the form of pleasing art and an interface that won't confuse or overwhelm first-time Linux users. The ...
2
votes
2answers
1k views

centos 7 dual boot with windows 8.1

How do I install CentOS 7 alongside Windows 8.1 to create a dual boot machine? I did this easily enough on a Windows 7 machine using pendrivelinux. But that approach is resulting in a failure to ...
2
votes
3answers
403 views

Why is kernel boot starting too late

Log message from ARM Cortex A9 based board. Running linux. [Sat Apr 12 19:33:50.207 2014] [Sat Apr 12 19:33:50.207 2014] [Sat Apr 12 19:33:50.207 2014] U-Boot 2013.07 (Apr 09 2014 - 12:31:52) ...
2
votes
3answers
6k views

No matter how many times I try re-installing Linux Mint, I get a GRUB error. How do I fix it?

I have been trying to install Linux Mint 16 Petra using a removable USB thumb drive on my laptop, and after multiple attempts, I get the same error every time: error: file ...
2
votes
0answers
382 views

How can I mount a dm_crypt device during boot, it fails all the time

EDIT: Problem solved, i updated from Debian 6.0.6 to 7.0.0, everything works now! I have a complex problem at booting. Basically, I have a debian apache box, as a music server in my home network. The ...
2
votes
2answers
979 views

Why won't my X Server won't start as a regular user?

X won't start on my main machine. I can start it as root, but then it only logs me in as root -- I can't use my regular user account. When I start up, it flashes a black screen, then hangs at ...
1
vote
0answers
124 views

How to fix the error warning failed to connect to lvmetad no such file or directory falling back to internal scanning in ubuntu 15.10

I need help with my Ubuntu laptop which was working fine until recently. My desktop disappeared and all the desktop icons are gone. All I have access to is the terminal. In an attempt to fix the ...
1
vote
0answers
641 views

saving file to usb stick while using linux boot stick

I am using the instructions in this youtube video to install CentOS 7 on a new computer that is running Windows 8. The tutorial uses UniversalUSBInstaller from PenDriveLinux, but the installation is ...
1
vote
1answer
2k views

Linux Mint: How to enable cryptswap with custom password?

When you want to use hibernation and you care for security, you'd like to have the swap encrypted. But not with the random password, chosen for you at startup, but with a fixed one, supplied by you at ...
1
vote
1answer
2k views

RHEL Installation issue with UEFI on HP Compaq Desktop

I have bought a new Desktop HP Compaq Elite 8300 SFF. It came with Windows 7 Pro installed. Now I want to install Linux (RHEL) by dual booting it. I have successfully shrinked the partition and ...
9
votes
1answer
2k views

Relationship of keyboard layout and xmodmap

I'm using Xubuntu. Before login I can choose a keyboard layout. I'm using xmodmap for remmaping some keys. I'm interested in two things: How the state of keyboard mapping changes when I turn the ...
10
votes
2answers
19k views

How to check on which drives grub2 has actually installed an MBR?

I'm on a Debian/Squeeze system (with a history going back to at least Woody) which was upgraded to grub2 as part of the Squeeze upgrade. All works well, but I'm about to mess with the disk ...
9
votes
1answer
30k 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 ...
15
votes
8answers
71k views

How to boot Linux to command-line mode instead of GUI?

I am using 32-bit Red Hat Linux in my VM. I want to boot it to command-line mode, not to GUI mode. I know that from there I can switch to GUI mode using startx command. How do I switch back to ...
15
votes
5answers
24k views

Stop program running at startup in Linux

How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
13
votes
2answers
10k views

How to know if I'm booting using UEFI

I was searching, but didn't found an obvious way to know if GRUB is using UEFI in the system boot, or the BIOS compatibility mode or a full fledged BIOS. Only Windows methods. Is there something in ...
10
votes
3answers
23k 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 ...
9
votes
2answers
16k 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 ...
10
votes
2answers
82k 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 ...