Ubuntu :: Modify Lilo From Boot Cd?
May 28, 2011
Is there a way to run the lilo command from the ubuntu 10.10 boot cd? It doesn't get the directories right, as it has / mounted as the ramdisk memory file system, and / can't be demounted since it's busy. I can install lilo in the ram after booting from the cd with sudo apt-get install lilo. Mounting / to my sdb1 partition (where Ubuntu is installed) does not get the proper "maps" for the lilo command, since the cd ramdisk / takes priority. I prefer not to use grub, as I wish to use windows vista's bcd(edit) as the main boot selector and it won't boot grub from bcd to a partition; at least I couldn't get it to work in 11.04. I got lilo to work from the vista's bcd menu in 11.04, but had many glitches. Windows allows this type of proceedure from its recovery cds.
View 4 Replies
ADVERTISEMENT
Dec 15, 2010
I cannot boot into the Windows 7 partition, which I guess is /dev/sda1. I have Slackware installed on /dev/sda2 which boots fine, my /etc/lilo.conf looks like
Code:
/etc/# Start LILO global section compact
[code]....
View 2 Replies
View Related
Sep 13, 2010
Old Setup: I HAD Ubuntu 10.04 (Fresh Install) and Vista. These were booted using GRUB as installed by Ubuntu.
New Setup: I have added Slackware. This has replaced Grub with LILO.
Problem: I have setup liloconfig so recognize each OS. Vista works great, so does Slackware. However, when I select Ubuntu: "Ubuntu is in Low Graphics Mode". Followed by a system crash.
Question: Ideally id like to simply stick with LILO. Is there a simple way to achieve this?
Note: some, on other sites, have suggested installing GRUB from Ubuntu LIVECD, however I am concerned, since I have no boot disk for my Vista that I might make it impossible to boot Vista if a GRUB problem is encountered. So ideally, id like to simply figure out how to work with LILO since it already works with Slackware, and Vista.
View 9 Replies
View Related
Nov 8, 2010
i installed slackware 13.1, previously i had slackware 13, i made the following partitions:
[Code]...
everything went fine until i rebooted slackware after installation. lilo didnt boot at all, just a black screen. i booted with the DVD, and checked the lilo config file. the contents on lilo looks fine, just like any other lilo on google. for example i have this: boot = /dev/sda
i installed lilo on the MBR., i then changed this to boot = /dev/sda1 , on root and nothing same thing lilo always complains at the end: Partition entry not found , but how come , /etc/fstab shows all partitions are mounted ,( i am doing this in KDE environment). i reinstalled again , same thing. I also get a warning: video doesnt not support VESA mode, i changed to vga = normal again it complains that video doesnt support vesa even when i set it to normal, (note that i am running lilo after i made those changes, even rebooting , and same thing happens.
when i installed lilo, it let me choose video modes for the boot screen because lilo showed that my video card supports vesa mode, but then it doesnt boot at all. did slackware 13.1 changed so much that my laptop is no longer supported?? everything was fine with slackware 13 or is it because slackware needs a separate /boot partition, if so how come i just installed slackware 13 with just / and swap?
View 5 Replies
View Related
Dec 9, 2009
before i start messing with anything, i figured i better ask before i get myself into trouble. ive been searching around and havent seemed to have found anyone with a setup similar to what i am trying to do. here's what i'm doing:
i have two identical 20gb drives, hda and hdb. hda1 is root. i am setting up either rsync, dd, or cpio to copy hda1 to hdb1 possibly once a month with a cron job. I just want to have a monthly backup of root in case hda1 ever fails. no, i do not want to use fakeraid or mdadm to set up a raid1 array, just want a monthly backup. should hda fail, and i need to set hdb as first boot device in bios, and boot off of that, i need to have a working lilo on that drive as well. if i copy the boot sector with lilo off of hda onto hdb, the boot= parameter in lilo would still be pointing to hda, and not hdb.
so is there a way to set two multiple boot drives in lilo? if not, how would i go about installing a separate lilo on hdb with its own conf? i was thinking something along the lines of modifying lilo.conf on hdb1 to point boot=/dev/hdb and root=/dev/hdb1 and chroot to hdb and run lilo -v? and if i do the above, and i do boot off of hdb1, will everything work as it should? what about needing to modify fstab for / being on hdb1 now?
View 3 Replies
View Related
Jun 18, 2011
I 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?
View 5 Replies
View Related
Jan 1, 2010
I have a question that is really probably a lilo question, but here goes. Can you use lilo to boot different linuxes on separate hard drives. Like this.
/dev/hda1 - Slackware 13 with lilo in MBR
/dev/hdb1 - Puppy linux
Here is my lilo image area:
[Code]...
Boots Slackware ok, but when booting puppy it screws up and seems to be printing the boot messages for the Slackware kernel on hda1. Now, how do I tell lilo to find the puppy kernel?
View 4 Replies
View Related
Nov 29, 2010
I have a laptop that I have installed Slack-current on, I am currently using the usb image to boot from. Windows7 is installed on sda2 and sda2 has been marked with the bootable flag, I would like to use lilo to boot the laptop do i install lilo to sda or to sda2?Will win7 still be able to boot using lilo as the boot loader ?
Another issue i noted during install is that the kernel panicked using the dvd to install with an error stating it could not read from the booting device, I eventually used the usb-pxe install to load the system however since 13.1 i have not been able to load a system using the dvd.
View 8 Replies
View Related
Mar 3, 2010
Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).
Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...
View 2 Replies
View Related
Oct 16, 2010
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 ...
View 4 Replies
View Related
May 8, 2010
Slackware's lilo runs from sdb1. I installed ubuntu studio on sda3.
I can't boot it from lilo.
Code:
boot = /dev/sda
image = /boot/vmlinuz
root = /dev/sdb1
abel = Slack64-cu-sdb1
read-only
[Code]....
View 1 Replies
View Related
Feb 24, 2011
Here's the set up.
1. Got an EXISTING LILO... VL 5.8 (/dev/hdc3)
2. Installed VL6.0 and installed its own lilo on Boot sector (/dev/hdc13)
3. Everytime I choose VL6.0 in my existing LILO (/dev/hdc3) it still goes to VL6.0's LILO. The question is, how can I remove the VL6.0 so if i choose this on my existing lILO. It will just boot straight.
VL6.0 LILO:
root:# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hdc13
#default = linux
#compact
#prompt
#timeout = 0 .....
View 3 Replies
View Related
Jul 31, 2011
I've been using lilo to dual boot linux/windows and I'm trying to add another linux distribution/partition. So far my lilo config looks like this :
other = /dev/sda
label = Windows
table = /dev/sda1
image = /boot/vmlinuz
root = /dev/sda4
label = Linux
read-only
I have installed another linux partition in /dev/sda2 which suggested to install grub with the following configuration :root (hd0,1) kernel /boot/vmlinuz26 root=/dev/sda2 ro initrd /boot/kernel26.img. Since I wanted to be sure that at I would be able to boot in at least one of my linux I didn't intall grub. I'd like to know how I should change my lilo config to be able to boot in my second linux partition.
[Code]...
View 5 Replies
View Related
Aug 16, 2010
I currently have a Slackware system an am using Lilo. I just installed Fedora 13 on a different root partition to play around with, I chose not to install Grub. How can I add an entry to Lilo to boot Fedora? Almost everything I am reading online says to use Grub and not Lilo, is there a reason for this?
View 12 Replies
View Related
Apr 14, 2010
I have Windows on sda1 and just installed Slackware on sda2. There also is a hda data drive, which usually appears first on drive lists. During installation, LILO gave an error (I tried installing both to MBR and root, both times the error was about something like "root: (N6").
Then I did the following
-boot with installation cd
-hugesmp.s root=/dev/sda2 rdinit= ro
-login
[code]....
View 2 Replies
View Related
Aug 26, 2015
I 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).
View 5 Replies
View Related
Dec 9, 2008
I have a PC with 2 Hard drives one of which has Windows XP Pro installed. I installed Red Hat Linux 7.2 on the other drive choosing LILO as the boot loader. When I reboot LILO only displays Red Hat 7.2 When I boot Red Hat and go into KDE boot settings I can see that hda has Windows NT. hdb has Red Hat 7.2. I then tried to make the Windows NT partition the default entry. When I try to confirm this an error displays warning me of danger if I proceed. Is there any way to make LILO recognize Windows (preferably without having to reinstall Red Hat), perhaps by installing another bootloader application!
View 2 Replies
View Related
May 17, 2011
Just installed Slackware 13.37 and am trying to get dual boot to work properly. I have edited /etc/lilo.conf to point the Windows section to what I believe should be the correct partition (/dev/sda2) Here is the relevant section
Code:
# LILO configuration file
# Windows bootable partition config begins
other = /dev/sda2
[code]....
I have mounted /dev/sda2 to /ntfs-c as suggested during install and when I browse through there I see the files from my windows setup so it is in fact the correct partition. When I load Windows on boot, however, it is pointing to the recovery partition (/dev/sda1).
View 1 Replies
View Related
May 8, 2010
I have a WD 80GB ATAPI hard disk for my operatings systems.
The partition table is :
First i installed Windows and then Slackware.
The problem is that in MBR , looks that lilo never installed and when my pc starts, the lilo menu never load it . Boots directly to windows.
What i should do, in order to have the lilo menu in startup?
View 13 Replies
View Related
Feb 13, 2009
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?
View 5 Replies
View Related
Jun 26, 2010
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:
View 4 Replies
View Related
Mar 14, 2011
I'm familiar with editing Grub's "menu.lst" file to add additional OS's to the boot list. Does Slackwares Lilo have a similar config file ? I need to add a second physical drive with Windows 7 on it to the boot options in Lilo. If it's not a config file, how do I add a second os to it ? Slack and Windows are both already installed on two different physical drives so I won't be installing, I just need to add the Windows drive to Lilo.
View 5 Replies
View Related
Dec 16, 2010
After I complete a big project I'm working on I'm going to be wiping and re-doing my desktop machine, probably in the next day or three. I'm going to be setting up a dual-boot; my first in about three years. I'll be using separate hard disks for this, and installing Slackware second on the bigger of the two drives. When I've done this in the past I've used Grub; Is there anything I need to know or pitfalls I need to avoid doing it with Lilo?
View 5 Replies
View Related
Jan 19, 2010
I have just install both fedora 12 and slackware 13 on my laptop I did not install lilo because fedora uses grub I am able to use slackware by using the the DVD and booting from the command prompt I have attached my grub .conf file also when i boot from cd the command is as follows
[Code]...
View 16 Replies
View Related
Jan 17, 2010
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.
View 8 Replies
View Related
Apr 30, 2010
i successfully install backtrack 3 but i cant see windows option anywhere in my lilo boot loader
View 10 Replies
View Related
Aug 24, 2010
I've previously had a dual boot Vista/Ubuntu machine that was working fine. Fast forward, I'm not able to boot into Vista at all and decide to reformat, return to factory settings after which I'll simply reinstall Ubuntu to get my functioning dual-boot back. I reformat the drive, everything seems to work fine and when I reboot I'm met by the GRUB screen rather then the Vista bootloader screen I expected. I select the Vista option and rather than starting to boot, seeing the Windows splash and then breaking (as it's been doing for a few weeks leading up to my decision to reformat), I'm promptly given a message that it can't find the disk 5252-ACFA (that Vista was previously on). After further inspection, my Ubuntu partition is still in tact and untouched, so I think the 'reformat' simply reformatted the Vista partition not the entire HD as I'd wanted. How do I modify GRUB to point to the new correct Vista boot?
View 4 Replies
View Related
Aug 28, 2009
I have one distro installed, LILO as the boot loader, and i wonder if it's possible to duplicate the lilo entries with an option which executes some script or command during, or after the boot.Actually, i installed a Slackware + autolaunching virtual machine, but i have two VM, so i need to autolaunch one of them. May i choose it from the very beginning ?
View 9 Replies
View Related
Dec 29, 2010
I am going to install the newest version of Ubuntu on my computer. I am currently running Vista. I would like to be able to dual boot. I understand the whole partitioning deal and booting from the cd but i am worried that doing so will overwrite my Master Boot Record for windows. Do I need to modify the GRUB2 after installation. Read many writeups but was hoping for some input.
View 1 Replies
View Related
Feb 16, 2011
My Slackware boots using the huge kernel. I am not using LILO; I am using GRUB from the extras directory on the DVD. I followed the tutorial @ [URL] up to the point where it discusses modifying LILO. My /boot/grub/menu.lst reads, in part:
# Linux bootable partition config begins
title Slackware Linux on (/dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 ro vga=normal
# Linux bootable partition config ends
This boots the huge kernel. What changes must I make to the above menu.lst entry to boot using the generic kernel?
View 3 Replies
View Related