Slackware :: Chainloading To Grub ?

Dec 21, 2010

I'm setting up a dual-boot for a friend with Ubuntu Studio and Slackware 13.1. Slackware will be the primary OS and Lilo will control the bootloader. After doing some research it seemed to me the best way would be to chainload grub from the lilo menu, so when I installed Ubuntu I stuck Grub in the Ubuntu root partition instead of the MBR and added the following to Slackware's lilo.conf:

Code:

It's not working. It just errors out and asks me to boot something else when I select Ubuntu_Studio from the lilo menu. I've never tried this before so I'm sure I'm making a really basic error;

View 14 Replies


ADVERTISEMENT

Fedora :: Chainloading Grub2 From Grub 1?

Feb 1, 2011

A little background: my primary install is fedora 9, I'm migrating to 14, and I need to change some partitioning (but not the F9, which is first on the drive). Because I installed a newer ubuntu a while back, I've been using ubuntu's grub2. That ubuntu partition needs to be moved, so I re-installed the grub 1 from F9 onto the MBR so the F9 doesn't depend on anything else.

This is when I learned grub 1 does not support booting ext4 partitions (which ubuntu uses). However, fedora claims that you can install grub 2 and have it chainloaded from grub 1, and in fact yum install adds a line to your existing grub 1 config to do so. That seemed like a nice solution since then all I would have to do is copy some grub.conf from the ubuntu partition into the F9 grub 2.

However, chainloading grub 2 does not seem to work very well. At all. I get to the grub 2 menu, but any option I choose -- including loading the F9 partition on which both grub 1 and 2 are installed, using the default config created by the installer, leads to an "unrecognized command" error, as if grub 1 was crapping out on a grub 2 config.

Anyone else had this problem? Better yet, has anyone done this successfully with any fedora version? I can backup ubuntu and copy it back in after I re-work my partitions, but while I'd prefer not to have to use grub 2 on the MBR, I'd still like to be able to boot ubuntu.

View 14 Replies View Related

General :: Chainloading With Grub And Grub2?

Dec 20, 2010

I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?

Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789
initrd /boot/initrd.img
boot

[Code]...

Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.

View 3 Replies View Related

OpenSUSE Install :: GRUB Chainloading Removed Boot-flag

Dec 13, 2009

I had my BIOS complaing that there were no OS. (worked since releaseday of 11.2).

partition setup:

sda1 : primary : swap
sda2 : primary : ext3 : Kubuntu
sda3 : primary : ext3 : opensuse (flagged as bootable)
sda5 : logical
sda6 : logical

opensuses GRUB is primary and Kubuntus is chainloaded.

The problem occurred after I tried to boot kubuntu for the first time since I installed opensuse. Kubuntu didn't boot. so I probably set up chainloading wrong. No big deal, this I can fix.

The big problem was that after trying to boot Kubuntu no OS was marked as "Boot" in MBR. This is VERY strange. somehow the boot-flag is removed!

After setting the boot-flag (with a live-CD) everything works again. I can reproduce this.

I've tried to find answers but could'nt find any.

Is GRUB supposed to remove the boot-flag when chainloading? have I found a bug?

View 9 Replies View Related

Software :: GRUB Legacy Chainloading Grub2 (ubuntu) Not Loading, Goes Text Mode?

Jun 15, 2011

I use openSuSE and want to try Ubuntu.This is the layout of the partitions:

Code:
sda1 /boot (SuSE)
...

[code]...

View 12 Replies View Related

SUSE / Novell :: Open Suse 11.2 Install Grub Entry For Chainloading Ubuntu?

Jul 20, 2010

I intend to re-install open suse 11.2, 32-bit. On a previous install,suse did not provide a grub entry for ubuntu.My current setup has

ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8

[code]...

View 4 Replies View Related

Ubuntu :: Booting Windows From Grub2 Without Chainloading?

Jun 4, 2010

if it is possible to boot windows without the chainload option. I don't have xp on the first partition and I don't want to load xp bootloader on the first partition because it will overwrite grub2. All I want to do is boot xp directly from grub, is this not possible? Can't I just load the kernel like I do with linux? I've never had luck with getting grub2 to load xp, P.S. grub version is 1.97 from ubuntu 9.1 install

View 9 Replies View Related

General :: Chainloading Grub2 For A Multiboot Setup?

Nov 24, 2010

Don't know if I should have posted in Ubuntu specific section but since it involves grub2 and a quirk in my bios, I have attempted to multiboot 3 Windows versions and the problem I had was intalling a second Ubuntu. (Don't ask!) I had success multibooting with grub legacy on an older computer but this computer has a tricky mb which won't let me install grub to the second drive on an IDE port. What I mean by this is that since I already had boot files to the older drive in mbr- it won't allow me to install to mbr of the other drive in IDE port even if set first in bios boot order, my old computer allowed me to do so, exept perhaps its because 2 HDD were SCSI... (I have other HDD installed in RAID 0 on the other sata ports supported by mb (fakeraid) but I will use these for video editing as scratch disks later. One other HDD used for data is on the Raid port but not in an array).

I succeeded in installing Ubuntu desktop only after realising that I had to first switch my disk order in bios- otherwise the system would just hang. U. Desktop grub had sucessfully found Win bootloader links to both XP and Vista. I then installed Win 7 and used easy BCD and grub2 boot entry to link back to my Ubuntu Desktop grub 2 menu.

The problem occured when installing Ubuntu Studio ( for which I created a separate /boot partition) and I decided to install grub2 to mbr since it had correctly detected all my OSes! But then it seems it never installed correctly to the mbr. I still had Win 7 BCD bootloader in MBR! I tried to link easy BCD boot entry to the /boot drive but that didn't work and I ended up having to reinstall Win7 because I had overrid the BCD with faulty neogrub mapping entries- which I then removed and kept the orginal neogrub that still points to Ubuntu Desktop grub menu.

I also now realise that because I installed Ubuntu Desktop before I switched the HDD boot order in bios- U. Desktop's grub.cfg sees root of Desktop grub differently than neogrub BCD does root=(hd4,7) vs multiboot kludge (hd3,6) and at first I tried to install grub in the wrong hdds and partitions- I based mapping on neogrub's to find /Boot (hd3,2) and (hd3, 1) which is wrong!

What I am attempting to do now is to chainload grub2 from my Ubuntu studio located in /Boot with what I thought was the right mapping but still no success:

menuentry 'Chainloader' {
insmod chain
set root=(hd4,2)
chainloader +1
}

yielded error: hd 4,2 cannot get C/H/S values press any key to continue, also when in terminal in Ubuntu Desktop in
grub> find /grub/core.img
Error 15: File not found

I will attach Boot_info_script; at this point I am too tired and afraid that I will keep on installing grub to the wrong drive!

Note: I somehow got a problem loading into XP after all these failed attempts and a system 32 file seems to have gotten lost-haven"t attempted to fix yet. Just wondering in passing what happens if I chainloaded into Windows by error- if that could have corrupted it? Right now 3 out of 5 OS are bootable. I hope I can repair it without messing up my mbr again. Another issue is that some devices are on busy IRQs and then suddenly its resolved and my onboard LAN suddenly stops working at times so I don't know if any of this could cause XP to get stuck at loading screen.

View 2 Replies View Related

CentOS 5 :: Chainloading 2nd Sata Drive Partition 5?

Mar 5, 2011

I am still fighting with getting the right configuration in my grub file to chainload the second linux OS on my computer.

Computer:
2 hard drives (sata)
2 OS's (CentOS,Ubuntu)

CentOS is in and running fine. It owns the MBR and was in place before I added the Ubuntu OS. Ubuntu was added to the free space of the second hard drive in partition 5 and its grub was installed there. So I thought this would work for a grub stanza.

title Ubuntu (10.10)
root (hd1,4)
chainloader +1

View 9 Replies View Related

CentOS 5 :: Chainloading 2nd Sata Drive Partition 5 - The Fix?

Mar 6, 2011

This is in response to Alan's request to: open another thread, to document your progress in achieving the aimed-for dual-boot system? After giving up on the problems described in:[URL]..

View 2 Replies View Related

General :: Chainloading From Grub2 To Sys On A USB Drive / Boot Error?

Mar 23, 2011

Alright, what I thought would be a simple task has me tied in knots.

I wanted to make a multiboot USB flash drive that I could easily manipulate to switch to various distros easily. My plans were:

1. Partition my 8GB drive to one large first partition (5GB) so that windows could access it. (P.S. GParted didn't partition correctly, needed to use fdisk. THIS MIGHT BE IMPORTANT IN SOLVING THE PROBLEM BECAUSE THERE MIGHT BE A BLOCK ERROR). I then made an extended partition with 5 500MB logical partitions.

2. Install Grub2 to MBR from Ubuntu

3. Expand ISO's of varios distros (Acronis Recovery, Puppy linux, etc.)
to the partitions, and create syslinux.cfg files for each (from the isolinux.cfg files that were already there)

4. Install syslinux to each partition's boot sector

Code:
#syslinux /dev/sdb5...
5. make grub.cfg on /dev/sdb1 chainload each partition.

THE GRAND PROBLEM:

Grub2 loads, but when selecting what I want to boot, I get the error

Boot error

which is syslinux, not grub2. So I know it's chainloading, but syslinux doesn't seem to find ldlinux.sys.

P.S. I'm not asking for other ways to make a multiboot drive, I know I can just direct boot from Grub2, but I want to be able to pass the boot to the boot loaders on the other logical partitions.

View 7 Replies View Related

Ubuntu Security :: Dual Booting With Truecrypt 6.3a Chainloading Grub2

Jan 4, 2010

I'm having problems getting TC to load grub2 1.97b4. When I hit ESC from the TC boot prompt, I get "no bootable partitions found".

I also booted into Ubuntu Live cd, mounted my LVM dm-crypted volume and tried to reinstall grub2 to my nonencrypted /boot under /dev/sda3 and TC still wont boot. Then I set the boot flag on /dev/sda3 and it still won't boot.

These are the commands I used to install grub2 to my /boot partition. Atleast that's what I think it did.

update-grub
grub-install /dev/sda3
grub-install --recheck /dev/sda3

View 3 Replies View Related

Slackware :: Unable To Boot Slackware Off SUSE GrUB?

Nov 1, 2010

I've a multiboot machine and I recently installed Slackware64-13.1 on sda33. I added menu entry in SUSE boot loader and configured menu list as per [URL].. it returns GrUB error 15. Here is my menu list entry for Slackware -

Code:

###Don't change this comment - YaST2 identifier: Original name: other###
title Slackware64-13.1
root (hd0,32)
kernel /boot/vmlinuz root=/dev/sda33 ro hdd=scsi
savedefault

[Code]...

View 15 Replies View Related

Slackware :: Adding The Slackware To Grub.conf

Apr 9, 2011

I boot my slackware through usb and I don't install lilo. I want to add slackware to fedora grub.conf.I have tried some methods,but failed. How can I do? fedora grub.conf

Quote:

title Fedora (2.6.35.10-72.fc14.x86_64)
root (hd0,5)
kernel /vmlinuz-2.6.35.10-72.fc14.x86_64 ro root=UUID=5cc13bf9-725f-

[cod3e]....

View 14 Replies View Related

Slackware :: Dual Boot Slackware With CentOS Using CentOS GRUB

Apr 11, 2011

For various reasons, I have to learn my way around CentOS. I have an old computer (P3) with Slackware on it. I threw in a second HDD that I had lying around and installed CentOS to it. I was figuring that I'd just decline installing GRUB or point GRUB to Slackware as the second OS and end up with dual boot.

The CentOS install, though, blew right past that part with offering me any options. It put a small boot partition on the CentOS drive and now the box boots straight into CentOS.

I've spent the better part of the day trying to get GRUB to boot the Slackware drive and had no luck, though I've learned a lot about GRUB error messages.

By the way, CentOS uses GRUB v 0.97.

Question: someone could point me to a reference.

Here's the output of fdisk -l on that computer (/dev/sda is a 4GB SCSI disk that was originally the boot disk for Windows 2000 server on that computer):

Code:

Here's the currentGRUB file. I added the section about Slackware. I've also tried pointing it at:

Code:

I've also tried:

Code:

Code:

Slackware's LILO:

It's been six months or more since I used this computer. It's my experiment-er "play" computer and I had taken the HDD out to test a computer for one of the members of my LUG, so I can't remember exactly how I configured the LILO install, but, if I did what I usually do, I installed it to the MBR of /dev/hda. I have considered just blowing away LILO, but I'd be happier if I could just use GRUB to call LILO.

View 7 Replies View Related

Slackware :: How To Add 13.1 To Grub

Sep 14, 2010

I was having problems with LILO (upon installing Slackware 13.1 next to myUbuntu/Vista), I reinstalled GRUB2 using my Ubuntu LIVECD. Grub did not auto-detect Slackware 13.1 upon install. I would like to add Slackware 13.1 to GRUB so I can also boot it. (Right now my only options in Grub are Ubuntu and Vista- along with memtest etc)

note: /sda5 is Slackware and /sda8 is Ubuntu
fdisk -l

Code:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 2 Replies View Related

Slackware :: How To Edit The GRUB

Jan 1, 2010

If you know Slackware you know Linux. If you know Red Hat you only know Red Hat".Now I made a decision to install Slackware near Ubuntu and Xp.I've installed Slackware with LILO.Well LILO didn't add Ubuntu.So I needed to install from a LiveCD GRUB.Now I've got another problem:GRUB didn't add Slackware.I made a research and realised that I must to edit /boot/grub/menu.lst. This is my hard disk(XP:sda1,sda5;Ubuntu:sda7,sda8;Slackware: /->sda9 /home->sda10): [URL] This is general code for adding an OS to GRUB:

title Slackware
root (hd0,x)
kernel /<vmlinuz_filename> ro root=/dev/hda<partition>
initrd /<initrd_filename>

[code]....

How can I find initrd for Slackware and I'd like to know how I must to write correct code to add Slackware to GRUB?

View 8 Replies View Related

Slackware :: How To Write Grub In Sl

Jul 21, 2011

I am new to install slackware, i am using scientific linux 6 and first, I don't know how to detect the wireless network and I don't know how to write the grub in my sl, I define the kernel to /boot/vmlinuz, which is a symbolic link, linking to the large single user mode, how can I use different kernels and it's easy to load the kernel but the config file, how should i edit the grub.conf

View 10 Replies View Related

Slackware :: Uninstalling Grub - Cleaning The Mbr

Dec 14, 2010

I'm dualbooting Slackware and Gentoo on my homeserver. Some weeks ago I built grub with a slackbuild-script, it was the new version of grub but it did not install properly. Since then I could only boot Slackware but not Gentoo. Today I tried to install grub from the Gentoo-partition (I chrooted to Gentoo). This did not work due to an errormessage of grub that "stage1 could not be read".

Afterwards I tried to install lilo, this failed at first attempt, but the with some warnings lilo executed. When I rebooted after the lilo-install, I had grub again at the bootscreen without the option to boot Gentoo. I decided that I have to clean the mbr of /dev/sda and found a solution with the dd command. Here my

[Code]...

Fortunately I have a second disk /dev/sdb in the server and have now installed the bootloader on the mbr of /dev/sdb. But in the long run I want to change this.

View 2 Replies View Related

Slackware :: Using Lilo To Boot Instead Of Grub?

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

General :: Can't Boot Slackware From Fedora's Grub?

May 26, 2011

Slackware is my main desktop, however, I decided to give Fedora 15 a try and overwrote the MBR installing it with grub. Now I want to keep fedora and its grub, just I can't get slackware to boot.Fdisk:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors

[code]....

View 2 Replies View Related

Slackware :: GRUB - Doesn't Loading Arch

Apr 12, 2011

I'm dualbooting Slackware and Arch Linux. I'm using Slackwares GRUB installed from /extra Loading Slackware from GRUB works fine, but loading Arch Linux doesn't. Here's the messages when trying to load Arch from GRUB:

[Code]....

View 8 Replies View Related

General :: Trying To Configure Grub - Slackware Partition Setup?

Oct 24, 2009

Okay on /dev/sda
sda1 is windows xp
sda2 slackware /boot /system files
sda3 slackware swap
sda5 Centos LVM

Now my question is when I install CentOS grub did not automatically setup the slackware partition and I have to configure it manually. This is my grub.conf file

[root@centos ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol01
# initrd /initrd-version.img
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
initrd /initrd-2.6.18-92.el5.img
title Slackware root (hd0,1)
kernel /vmlinuz-generic-2.6.29.6
title Other
rootnoverify (hd0,0)
chainloader +1

How should I do the slackware in grub?

View 13 Replies View Related

Slackware :: Adding 13 To Grub Boot Loader Of Ubuntu 9.10

Jan 28, 2010

I'm using slackware 13 and now i want to add slackware 13 to grub .How do i have to do it ? Slackware is great to learn because i've a lot of linux using slackware than using any other distro. But some programs are dependant on other which i was not able to install, they call it dependencies. Even though compiling from source is great but runnning the program is a problem as the program terminates may be because of some dependency not installed.The same goes with sbopkg and others ..As of now i'm thinking of installing Ubuntu along with Slackware13 as this system is used by everybody in the family. How to add slackware to Ubuntu's grub.......

View 3 Replies View Related

Slackware :: Fresh Install - 4 Grub Menu Items?

Jan 2, 2011

I just did a fresh install of Slackware 13.1:

However, I get 4 grub listings for Slackware.

1. leads to kernel panic.
Code:

2. leads to kernel panic but with
Code:

3.... welcome to Linux 2.6.33.4 (tty1)

4. Welcom to Linux 2.6.33.4-smp (tty1)

I have never had any trouble with grub, and consequently never had to edit much in grub.

View 11 Replies View Related

Slackware :: Grub/ Grub2/ Lilo - Can't Install Any Of Them Properly?

Nov 15, 2010

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

View 15 Replies View Related

Slackware :: How To Modify Grub To Boot Using Generic Kernel

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

Slackware :: How To Install Extras/source/grub Properly

Feb 4, 2011

I copied the extras/source/grub folder to my home folder.

I did: ./grub.SlackBuild as su.

The install went on for a long time and I saw warnings etc flash by.

I don't know if it has installed properly. I tried it before and it destroyed my grub menu. I managed to recover grub through LMDE and now, I am back for more!

Is there any way to tell if this app is installed properly before I run grubconfig?

View 10 Replies View Related

Slackware :: Kernel Panic While Booting With Grub Using Uuids

Jul 16, 2010

today I updated my Slackware 13.0 to 13.1. Unfortunately it didn't boot any longer. I probably forgot to run "lilo" before restarting. However, I reinstalled Slackware and I installed grub instead of lilo I'm more familiar with it..

This was my first menu.lst config:

Quote:

title Linux (uuid)
root(hd0,0)
kernel /vmlinuz root=UUID=6a8096a3-3915-4ef2-8984-976e42d04cfc ro vga=0x031b

While booting it stopped and printed this message:

Quote:

Kernel panic - not syncing: VFS; Unable to mount root fs on unknown-block

Then I compared it to other Linux system on different computers and I noticed that every of them, who are using uuids, using an initrd as well. So I created one and now it boots properly.

I just wonder, why? Why does it need an initrd to boot by using uuids?

View 2 Replies View Related

Slackware :: Unable To Find Grub In The Repo Via Slackpkg

Jun 13, 2011

I have an install of slack64 13.37. I am unable to find grub in the repo via slackpkg search grub. It doesn't seem to be in the release package list either. Ditto the extra and testing repo. Has it been removed?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved