LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2006, 11:26 AM   #1
lord_didger
Member
 
Registered: Jun 2005
Location: Poland
Distribution: Debian
Posts: 106

Rep: Reputation: 15
grub: booting CD


Hi,
I usually use Debian etch but I need to run Windows sometimes. My bootloader is grub. I wanted to boot CD with windows' installer and later to boot Windows which would be located in /dev/hda4 so I had written to /boot/grub/menu.lst
Quote:
title Win
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
chainloader +1

title CD
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
chainloader (cd)+1
However it didn't work. What should I change to boot cd directly?

These are partitions on my disk:
Quote:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 65 522081 82 Linux swap / Solaris
/dev/hda2 * 66 1370 10482412+ 83 Linux
/dev/hda3 1371 8815 59801962+ 83 Linux
/dev/hda4 8816 9729 7341705 b W95 FAT32

Last edited by lord_didger; 12-02-2006 at 02:07 PM. Reason: not enough information
 
Old 12-02-2006, 04:05 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Booting from CD is not really related to the partition setup, grub, etc. It is managed thru the BIOS. When you start the computer, there is a key to press (eg DEL) to put the bios in setup mode. In one of the setup menus will be the boot sequence. The normal setup would be floppy 1st, CD 2nd, and then the first harddrive.
 
Old 12-05-2006, 08:48 AM   #3
SMukhuti
Member
 
Registered: Jun 2006
Location: India
Distribution: PCLinux OS, Mint
Posts: 32

Rep: Reputation: 15
You only need to change the boot sequence from your BIOS.
Quote:
Originally Posted by pixellany
The normal setup would be floppy 1st, CD 2nd, and then the first harddrive.
Once this is done, you can re-install your GRUB from the linux control panel. Every linux distro has an option to re-installl GRUB and this can be accessed from the control center with root privilege. GRUB should automatically detect any installed Windows installation. While configuring GRUB set Linux as you default boot and give timeout as 10 second. You work is done.
 
Old 12-07-2006, 02:11 PM   #4
lord_didger
Member
 
Registered: Jun 2005
Location: Poland
Distribution: Debian
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks for your answeres. I wil do it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
how to edit grub.conf from grub shell during booting pashaikh Linux - Security 1 06-27-2006 05:01 AM
Booting from CD with Grub eqxro Linux - Software 2 10-03-2004 11:53 PM
GRUB Booting m4rine Linux - General 8 08-21-2004 02:46 PM
GRUB and Booting from 2 HD Psychocop156 Linux - Newbie 2 07-08-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:12 AM.

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