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

learn more… | top users | synonyms

-1
votes
1answer
417 views

Set Kernel Root to Same Partition as Boot

Running GRUB, I want to set the kernel root parameter to the same partition (or more generically, to a partition on the same device) as the disk with the bootloader. Initially, the install set the ...
2
votes
3answers
400 views

How does setting the Setuid bit affect shell scripts that run on boot of the system, before any login has occurred?

Would enabling the setuid bit on a shell script make a difference at all when that script is run on boot? Who would the effective user be?
4
votes
2answers
238 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 ...
7
votes
3answers
13k 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 ...
4
votes
1answer
162 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 ...
0
votes
1answer
2k views

Error with grub2 installation on Backtrack 5

I installed BackTrack 5 r1 and I can't select boot option between Windows and BackTrack on start up. How can I fix this, or how can I install grub 2?
2
votes
1answer
642 views

Kernel can not boot after upgrade on Fedora OS 15

I am using Fedora 15, and want to upgrade to version 16. I followed the official link Upgrading Fedora using yum - FedoraProject to upgrade my OS by the following command: yum update kernel* ...
7
votes
3answers
3k views

Why does initramfs mount the root filesystem read-only

What is the reason for the root filesystem being mounted ro in the initramfs (and in initrd). For example the Gentoo initramfs guide mounts the root filesystem with: mount -o ro /dev/sda1 /mnt/root ...
1
vote
1answer
1k views

Boot device /dev/sda1 does not exist on Debian in QEmu

I have an image of Debian/LXDE assembled for ARM and I trying to run it in Qemu. I am using this command: sudo qemu-system-arm -M versatilepb \ -kernel ./vmlinuz-2.6.32-5-versatile \ ...
3
votes
3answers
1k views

Avoid pause during dm-raid initialization

On my CentOS 5 workstation I get a few seconds wait after dm-raid45 has been loaded ("Initializing Driver" or something like that). This seems to be part of the initrd. After that the system boots ...
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. ...
4
votes
2answers
496 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
3answers
1k views

rc_status always returns “failed”

One of our developers has a service that needs to be started on boot. This script needs to be fired: /app/bt/preview/apache-tomcat-5.5.27/bin/startup.sh Here is the startup script I'm working ...
3
votes
2answers
266 views

Why does linux scan my cdrom on boot?

My linux system scans my cdrom on boot. Can I disable that feature without removing my cdrom tray?
3
votes
2answers
754 views

Arch Linux cannot boot

I have a WD My Passport USB 3.0 500 GB HDD I have successfully installed various OSes like Ubuntu, Pinguy, Mint etc. but so far I'm unsuccesfull in installing Arch Linux. I used the net install CD ...
5
votes
2answers
1k views

How can I boot the PC-BSD live DVD-ISO IMAGE directly via GRUB2?

Via the loopback command, GRUB2 allows to directly boot an ISO file. Now, I've configured the according menuentry to boot the PC-BSD Live DVD ISO, but when I try to boot it, the FreeBSD bootstrap ...
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 ...
8
votes
2answers
14k 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?
8
votes
1answer
4k 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?
0
votes
0answers
426 views

“Error inserting microcode” on new install of Fedora 15

I started getting an error that looked like this the other day, and I Googled the problem but couldn't find the solution (probably because I don't quite to know what to Google), so I reinstalled the ...
1
vote
1answer
1k views

Ubuntu installed from mini-ISO under VirtualBox doesn't boot

I installed the mini ISO of Ubuntu 11.04 in VirtualBox. After unmounting the ISO image and booting, I can see only black screen for about two hours? Is it normal? What can I do with it in virtual box ...
4
votes
1answer
9k 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 ...
5
votes
3answers
9k 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 ...
1
vote
3answers
1k views

Solaris - get a list of the commands run at startup/boot?

Is there any way of seeing a list of commands that were run at startup/boot on Solaris? I know there is a network drive being mounted at startup but I wanted to see the exact 'mount ...' command ...
1
vote
2answers
811 views

What processes are started during linux boot and how to disable them?

I installed nfs-commons on my Ubuntu 11.04 machine so that I can mount an NFS drive. However I late decided to remove NFS from my system so I did a sudo apt-get remove. Now, 1 out of 5 times my ...
0
votes
1answer
885 views

Install Slackware on a USB Pendrive

I have a nice, smooth flash drive which requires a mounting of a DVD ISO image for Slackware to install. For whatever reason, Ubuntu's Startup Disk Creator refuses to notice the iso, so I can't use ...
2
votes
1answer
132 views

“Short read block” error trying to boot RHEL

I changed my network configurations from static IP to DHCP and removed the DNS entry, etc. Then I rebooted the computer, but am now unable to boot, I get an error message along the lines of "short ...
1
vote
1answer
164 views

No installation option with livecd

I'm currently running Windows 7 x64 Professional and want to dual-boot with CentOS. I made a disk partitioning and wrote an image of CentOS on flash drive. But when it is being booted there's no ...
3
votes
4answers
552 views

Newly installed Debian install is not recognized

I recently formatted an entire drive so I could install Linux on it. The partitions: 15 GB, Primary, sda1, mount point: / 232.9 GB Logical, sda5, mount point: /home 3 GB Logical, sda6, swap However, ...
16
votes
3answers
49k 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 ...
2
votes
2answers
12k views

Red Hat Enterprise Linux 6: /boot/grub/menu.lst or /boot/grub/grub.conf?

I have a brand new Scientific Linux 6 system, but this same question should apply to CentOS 6, RHEL6 or any RHEL6-derivative. I see that /boot/grub contains a menu.lst as well as a grub.conf file. ...
1
vote
1answer
3k views

Black Screen When Booting From .VDI Image

I have cloned a VirtualBox machine, which runs Ubuntu 11.04 32-bit as Guest OS. I now wish to transfer it to a new host machine running Windows Vista 32-bit. I’ve transferred the .vdi file and ...
1
vote
1answer
161 views

lilo, install in target-mbr from another system

I have a embedded system (short ES) on a cf-card (short CFC). I plugged the CFC into the cardreader of my notebook. Sure the devices of my notebook are not the same then in the ES. Now the ...
2
votes
1answer
209 views

GRUB won't boot, live CDs either

First, my computer crashed slowly, as if all the files were being deleted, then when I tried to reboot, GRUB just didn't show up. I also tried to boot on a live CD but it doesn't work either (yes, ...
3
votes
1answer
442 views

Boot-loader to boot to an encrypted partition [duplicate]

Possible Duplicate: Linux boot loaders supporting full disk encryption? I am looking for a Boot-loader which is smart enough to boot from an Encrypted partition. I want to place the kernel ...
2
votes
1answer
273 views

Fresh Install of Ubuntu Grub rescue

I have a fresh install of Ubuntu 11.04 from DVD on a wiped hard drive. After it finished installing it asked me to remove the media and hit enter. Which I got the message: error: no such device: ...
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 ...
4
votes
1answer
180 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
3answers
2k 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 ...
2
votes
2answers
840 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
1answer
867 views

How to completely rebuild boot partition with grub as well?

openSUSE 11.4, I have boot partition on pendrive. The problem is when I boot computer, grub immediately shows error "file not found" (I have no clue which file) and switches to "rescue mode". I can ...
4
votes
1answer
172 views

Why does the Linux installation fail on this machine?

I have tried to install Ubuntu and ArchLinux on the machine and the installation went fine but the boot process fails with both system. In the case of Arch the boot doesn't even start. In the case of ...
1
vote
1answer
154 views

Live-CDs no longer boot as expected

For some reason on my office machine every Linux Live-CD either takes forever to boot or goes to a terminal interface instead of the expected GUI. I used to boot to an Ubuntu 10.10 Live-CD and ...
2
votes
4answers
2k views

How can I run a process in a terminal window and then hide that window?

I want to run python ~/program/proxy.py in a terminal when I boot up. And then hide this terminal window (because it is just a proxy program, and I don't want to see the debug info). So how can I get ...
2
votes
1answer
728 views

e4rat in Fedora 15

Has anyone tried installing e4rat and optimizing boot-time in Fedora 15? This ext4 defragmenting and optimizing utility works wonderfully in Debian. I am wondering if someone has replaced Fedora's ...
3
votes
3answers
8k views

Grub2 RAID /boot

I'm using Gentoo on my HomeServer. My HDDs are raid1 mirrored with mdadm. My problem is how to boot the /boot partition correct? /dev/md1 consists of /dev/sdc2 & /dev/sdd2 mounted on /boot In ...
4
votes
2answers
2k views

Can I split /boot to a different partition on a single partition system?

I have set up my system, configured it and everything, using only one partition for / (ext4). So no separate home, boot, swap etc. So the question is: Is there a way to go from this configuration ...
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 ...
6
votes
1answer
355 views

How can I prevent someone from gaining root access through the bootloader?

On Ubuntu 10.10 I can login as root without the root password by replacing ro quiet splash with rw init=/bin/bash. How can I secure my machine and disable this backdoor?
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 ...