Debian :: Replacing LILO With GRUB?
Apr 13, 2011I'm trying to go from LILO to GRUB (legacy). However, when I try to "sudo grub-install /dev/sdb", I get: [URL]
View 1 RepliesI'm trying to go from LILO to GRUB (legacy). However, when I try to "sudo grub-install /dev/sdb", I get: [URL]
View 1 RepliesI am thinking about maybe trying "LILO" [URL] ....
For my boot loader, from what I have read it sounds even more tempting.
I am totally sick of GRUB, even though it is what seems to be the most popular,and is what normally is used as the "default" when any linux system is installed, that is what the install ISO's use, but anyway, that is another topic, over the years, "grub failing", has been a problem for me , many times.
I saw this (From LILO to GRUB Howto).
I'm fairly new to linux, and a few days ago, as I was updating my system, I got the "EBDA is big ; kernel setup stack overlaps LILO second stage" error after reboot. I use a 3- boot, ( Win XP / Debian / Debian) and Windows XP works fine, but I can't launch any of the Debian. I googled the message, and I found this link :
[URL]
The only problem problem is that when I try to chroot, I got another message, "chroot: failed to run command `/bin/bash': No such file or directory" I googled this message too, but found no relevant answers. I am now using a knoppix usb drive to try to repair the lilo, but I ran out of ideas ...
I work in a very restrictive environment and I want to use linux on my work laptop (currently running Windows XP prof). I am planning to install linux in a dual boot mode but I dont want to install grub/lilo or any other boot loader. i cannot even modify Windows bootloader to boot into linux partition.
Is there a way I can boot into linux partition without installing new boot loader or modifying the current windows boot loader? Any boot CD etc available that can boot into linux partition from my laptops HDD?
I'm looking for an alternative boot loader (for hard drive) to get away from GRUB and LILO. I want something that is not bloated like GRUB and does not require rebuilding a table of block numbers like LILO. Something simple and basic ... like a boot loader should be.
View 8 Replies View RelatedI just installed Slackware 13.37, and it's my first version of Slack.
After installing, Grub was still installed on my system, but since it is supposed to boot an OS that's no longer on the hard drive by default, it drops to the Grub Rescue prompt every time I boot.
How can I boot Slackware from grub, or get lilo to boot my system instead of grub?
I recently decided to try out Fedora 12 (which uses Grub, not Grub2) along side my Ubuntu 9.10 which does use Grub2, and Windows 7 (yuck). I would like to use Grub2 to boot (Fedora's Grub does not recognise my 9.10 install). I've searched for a way to simply remove Grub, but have only found ways to remove it by using "the Windows fix" (fdisk /mbr or something similar) which I do not want to do, and I do not want to modify Grub's menu.lst, I just want it gone and to install Grub2. I am most likely going to remove Fedora soon anyway.
View 9 Replies View RelatedLILO not supported?
Does anyone know the diff between GRUB and LILO?
Difference between Grub,LILo and Uboot loaders
View 3 Replies View Relatedsince ms dos wasn't meant to be booted from cd (it was used from floppy) and i have tried buring the contents of every ms dos floppy to a cd and no dice i am guessing that it needs a bootloader so i can boot up the setup wizard
before anyone suggests that this thread has nothing to do with linux i will just point out that this thread is asking about grub and that is a linux catagorie
This post has been updated with new information. First, here's fdisk -l:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[Code]....
I have 2 drives, the first has Slackware 13.0 and FreeBSD 7.2. The second has Windows 7. Lilo configured to boot all three, no issues. Perfect. The first drive has 100GB of free space after FreeBSD and today I decided to install Open Solaris on that free space. The install failed, as in Solaris displayed such a message. I did read the Solaris install docs, etc. And it did mention no to install unless it preceded any Linux Swap partitions. There are, I did, but that's not my issue now.
After rebooting, it amazingly loaded FreeBSD by default. No Slackware. So I booted the slackware DVD, ran fdisk and made Slackware the default boot partition, yada yada. Now when it rebooted it gave a little message down in the left hand corner of the screen like "RRG B" highlighted in a red box. Now pressing enter will cause Windows 7 to boot from the second disk. I mounted the slackware partition from the DVD and am there now. Will just running lilo again put everything back to normal? Apparently Solaris left behind a piece of that ill behaved GRUB! (No flames!!!) :-) How do I make it go away?
I have one install (Slack 12.2) on /dev/sda11, and GRUB (GNU GRUB 0.97) boots it without a problem. I just installed a new Slack 13.1 on /dev/sda1, and GRUB fails to boot it as follows:Quote:
grub> root(hd0,0)
> Filesystem id type ext2fs, partition type 0x83
grub> kernel /boot/vmlinuz root=/dev/sda1
[code]....
I usually install grub straight away after an install but this time it hasn�t worked for some reason after installing 13.1 on a new lappy. I have tried grub, grub2 (from sbo) and lilo; nothing I install into MBR will boot my slackware installation, I have to use the boot USB stick every time.
grub-legacy would be my preferred one so i�ll ask for help specifically with that. This is what im doing so far -
[Code]...
I somehow recalled a rule re the location of the boot partitions with LILO being required to be in the first part of the drive (1024 cylinders, it seems) and I found it indeed in an old doc:
Boot Partition: Your boot partition ought to be a primary partition, not a logical partition. This will ease recovery in case of disaster, but it is not technically necessary. It must be of type 0x83 "Linux native". If you are using lilo, your boot partition must be contained within the first 1024 cylinders of the drive. (Typically, the boot partition need only contain the kernel image.) Is this still valid in GRUB, esp in Fedora 10?
I've run Debian on my laptop for quite some time now with no problems. I installed Slack to a new partition created in the free space of my hard drive, and I thik this was my mistake: I let Slack automatically configure the MBR with lilo (can't remember - I should stop operating on the MBR at 4 AM.) Now Slack runs just fine, but upon bootup I would like to be able to boot either Debian or Slack, but instead I just have a Slack splash and the only option is to press enter to boot Slack.
Code:
I believe sda1 is the root directory of my Debian install.
Code:
In the above table, sda10 is the swap I created for Slack and sda3 is the root directory for Slack. All other partitions were there before (my initial Debian install).
Thus my partitions are apparently intact and visible by the MBR (is it correct that the MBR holds the list of partitions on a disk?) but for some reason I don't have the option to boot Debian at all - just Slack.
I have a feeling this is a LILO/GRUB issue, but I don't know where to start.
EDIT: more poking around seems to reveal that it is the configuration of LILO that is the problem. Observe the following output:
Code:
I have a Dell Inspiron 1721. Recently I replaced Windows Vista Home Edition (32 bit) with Slackware Linux 13.
Lilo wouldn't work, when I turned on the computer it printed "Li" and then 20 lines of 090909... and then the computer would hang up. So I just used my Slackware-boot-flashdrive-thing that I created during installation to boot my computer and told myself that I would fix it later.
Also, when I installed, cfdisk (or it might have been sfdisk) complained that /dev/sda did not contain a valid MS-DOS partition table. fdisk still worked, so I used it to create a new table, and cfdisk worked fine and the installation went along normally.
I reinstalled Slackware about two days later (I realized that I had installed the 32 bit version instead of the 64 bit). Lilo still didn't work.
I thought it might be something wrong with the Slackware DVD, so I downloaded and attempted to install about 4 different distributions. None of the CDs would work. The computer would start up, Linux would start to load, and the computer would freeze.
Xubuntu was the only distro I had that I could get to install. Halfway through the installation, (Surprise!) I got an error, something like "Package Grub failed to install, you will not be able to boot your new operating system".
The rest of the install went fine, so I restarted my computer and tried to use another one of my CDs to boot Xubuntu. I got the error "/dev/sda does not contain a valid partition table", and later "ext4-fs: checksum failed on dev sda at sector...", and "please specify a valid partition for root=". I am absolutely positive that I entered the correct partition, I triple checked and entered other partition names to make sure.
I'd also like to add that the computer makes horrible crunching noises when it starts up and when I do stuff like press keys. So is something seriously wrong with my hardware, or is there another explanation for all of this? Because I really don't want to have to try to repair the computer and can't pay to have it repaired.
I do need to change or edit this white Ubuntu logo on the black background that comes right after GRUB and before my xsplash is played. How do I do that? Where is that picture saved in the system?
I have edited my xsplash the way I want it by changing the pictures in /usr/share/image/xsplash but cant find a way to edit this other bootup screen.
I am using Fedora 10, and was wondering if it is possible to install Windows XP on a free partition, without it replacing the GRUB boot loader?
View 6 Replies View RelatedI have been trying to decide which distro of linux i want to use, and i decided to go with debian because i keep reading that it is very stable. I currently am installing it in in virtualbox first to make sure i like it. I wanted to use xfce instead of gnome but forgot to specify that in the beginning. The install takes a while and i didn't want to start all over if that is possible. I am wondering how i could completely replace gnome with xfce.
View 11 Replies View RelatedI re-installed Debian recently and I have a question about compiz. Is there any way to enable Compiz without replacing Metacity? I say this because using compiz --replace replaces all of my shortcuts and reduces my workspaces to two, it would even let me add more.
View 5 Replies View RelatedI want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?
View 3 Replies View RelatedI have XP and win 7. I want to triple boot with Debian.When I install, grub finds win 7 and XP and says everything should be fine, but then when I boot, only debian appears.This was fixed by doing update-grub2 after logging in.Now, I have win 7 bootloader as an option. However, when I boot into XP, and then reboot, grub disappers. he screen just says welcome to grub and then a blinking cursor.
View 10 Replies View RelatedI was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies View RelatedI tried to install Open Office following a guide in OpenOffice.org but after several attempts debian refused to boot properly. I decided to re-install Debian 5.0. When we came to the installation of the boot loader GRUB refused to be installed. I stopped the installation expecting to go back to the beginning. But now it tries to boot saying:Grub loading stage 1.5.
Grub loading, please wait...
Error 15
This is an old Toshiba 3110 with Windows 98SE installed which I have successfully customized and do not want to loose. What can I do to get back into W98SE and then re-install Debian properly?
how to replace grub2 with grub-legacy hassle-free? I mean, is there any danger in doing the following procedure: purging grub2 and installing the legacy version after that? I'm using Squeeze system with ext4.
View 1 Replies View RelatedThis passed weekend I decided to upgrade the household server. I found cheap 2 TB disks on sale, so I got 4 of them, and began the upgrade. All went well, I used dd to copy the LVM pv to a new disk, removed the old disks, setup the array in degraded mode, evacuated the copy volume, and added it into the array.... then reused the old disks in new desktops. (well all good after I turned on virtualization in the bios)... all except grub.
I setup a raid 1 array for the /boot partitions. So far so good... but I boot and it sees the grub MBR, I know this because it dumps me into the grub> shell. Now comes the weird part... I can boot it just fine by doing a cat /grub/menu.lst and then using the lines in there to boot it:
[Code]...
That works fine, but, when I reboot, no menu. I am perplexed. I copied /boot with tar (mounted the mirror on /mnt and did a "tar cf - | (cd /mnt; tar xvf -)", I ran grub-install, and update-grub, both a few times. I even dropped into the grub shell and had it setup each of the 4 disks in turn (I wanted to do that anyway, since I do really need to be able to boot from any of them... I guess I should have entries for them in menu.lst too... but one problem at a time...)
So here is my situation..i was using win 7 and ubuntu 10.10 in my dell studio 1555. and i wanted to try out debian so i installed debian in my pendrive. so the grub was modified. when the computer starts it shows debian,ubuntu and win7 no problem.. but if i remove the pendrive, nothing comes up. it shows grub rescue>..
so now i cant start up unless i plug in the pendrive. what to do now to solve this problem?? i want to restore my grub to the previos state.
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
This computer is incompatible with grub. So normally with other linux distros when the installation ask me about grub I click back and the distros give me the lilo option.
But ubuntu-10.04.2-alternate-i386.iso does not give the lilo options. I try apt-get install lilo but no success. (shell rescue mode)the answer is: Package lilo is no available So I need a Ubuntu with lilo. or some way to install lilo in this distro.