LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2006, 11:02 PM   #1
sfzab
Member
 
Registered: Dec 2005
Location: Puerto Rico
Distribution: Linux Suse 10.0
Posts: 49

Rep: Reputation: 15
How do I add other Boot Options


I have two hard disk drives. On one of them (D0) Windows XP Pro is installed, and on the other one (D1) Suse Linux 9.3 Pro and Xandros Desktop Deluxe 3.0 are installed.

When I installed Xandros it seems to have overwritten Suse's lilo file, and did not merge Suse's Boot Options which were initially:

Windows XP Professional (default)
SUSE LINUX 9.3
SUSE LINUX 9.3 (XEN)
SUSE LINUX 9.3 (Failsafe)
Floppy

Is there any way of recovering Suse's lilo file, and being able to merge Xandros' Boot Options so that at startup may appear:

Windows XP Professional (default)
SUSE LINUX 9.3
SUSE LINUX 9.3 (XEN)
SUSE LINUX 9.3 (Failsafe)
Xandros Desktop Deluxe 3.0
Xandros (Safe mode)
Xandros (Expert mode)
DVD CD ROM --instead of Floppy--

The basic problem is that, first, I can not access Suse Linux 9.3; and second if I want to run Knoppix Live it should be with the CD ROM and not the Floppy drive.
 
Old 01-06-2006, 01:58 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Suse uses grub by default. You may have specified lilo on installation. If grub: /boot/grub/menu.lst in the Suse partition. If lilo, /boot/lilo.conf in the Suse partition would be the Suse bootloader config files.

Xandrox overwrote the MBR; not the Suse bootloader config. Suse is still there, just not bootable at present. You should be able to boot Suse using cd-1 of the installation set.

You can access Suse from Xandros. Look at the file /etc/fstab. Xandros probably lists two partions for hdb. The first would be Suse and the second Xandros. Fstab should also tell you the mount point in the directory tree: something like /mnt/hdb1.

Mount the partition: mount /dev/hdb1. Use your file manager to select /mnt/hdb1/boot/grub, and you will find menu.lst (requires root privilege to read). Copy the lines you need, and paste them into the Xandros bootloader config file.

If Xandros uses lilo, then the lines from grub will not work. They will have to be edited to suit lilo.

When done, if Xandros uses lilo, run /sbin/lilo to tell lilo about Suse. If Xandros uses grub, no need to run anything.

Last edited by bigrigdriver; 01-06-2006 at 02:00 AM.
 
Old 01-06-2006, 02:26 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
umm just to add that optical drives and normally bootable if you change your bios boot order to optical drive b4 hard drive BUT leave the tray empty to boot hard drive and put a knoppix or kanotic cd /dvd in to boot from optical

2) agreed that your mbr has been overwritten.

3) when you get a chance to digest all that lovely info on bootloaders or grub etc consider keeping a main distro and keeping its booting files intact and merely for each new distro putting its new bootloader only into the partition and not into mbr.....then you chainload to each linux by amending your main /boot/grub/menu.lst file like this

title new distro
root (hdX,Y) as per tutorial
chainloader +1

then install new distro and when given option of installing bootloader always choose your new distroś /boot parition or if /boot is a subfolder to / then its new / partition as per tut

good luck with playing with all the good stuff.

Last edited by aus9; 01-06-2006 at 02:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
How To Add Scripts and Options At Startup? thugic Slackware 1 01-05-2005 08:17 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
How do I add boot options in Knoppix 3.3 partimegeek Linux - Newbie 1 04-25-2004 10:53 PM
add options in enlightenment menu watashiwaotaku7 Linux - General 9 02-21-2003 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration