LinuxQuestions.org
Help answer threads with 0 replies.
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 05-13-2005, 05:45 AM   #1
pop_harish
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: red hat 9.0
Posts: 7

Rep: Reputation: 0
boot from a cdrom from grub


hi,

is there any possiblity to boot from cdrom from grub and install windows xp....if posiible then how it is done.........

advance thanx to one and all

thanx a lot

harish
 
Old 05-13-2005, 08:18 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
why boot from GRUB? Doesn't your BIOS support booting from a CD?
 
Old 05-15-2005, 11:38 AM   #3
pop_harish
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: red hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
hi

yes ,my BIOS supports cd-rom booting but now i want to install windows xp on my machine .......if i do so then i won't be able to boot in to linux (if i have too boot into linux then i need to use floppy.....which i don't want to use).some where i read that if i boot from grub with a cdrom then without distrubing my linux i can install ......so i just want to try that one..............


hope u will help me ..........

thanx a lot

with regards
harish
 
Old 05-15-2005, 12:18 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
It doesn't matter how you start the Windows install, it will take over the MBR and lose your Linux boot loader ( temporary problem ) .
After the Windows install is completed, boot up with the Linux cd#1 and restore the grub.
 
Old 05-18-2005, 10:26 AM   #5
pop_harish
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: red hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

hi,


how can i re-install grub .......can please give a detailed explanation plzzzzzzzz........

regards
harish
 
Old 05-18-2005, 12:07 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
1. Boot your machine from your boot media (cdrom1) and type linux rescue to install to the command prompt.

2. Redhat displays a message “If you would like to make your system the root environment, run the command: chroot /mnt/sysimage”. Go ahead and do that.

3. At the prompt, type rdev and make a note of the output. For example, if it looks like this... " /dev/hda2 / " . This indicates that the Redhat root partition is on the first drive and second partition. You need that info for the next step.

4. Get into the grub configuration utility with the command: grub.
At the prompt grub> type the command: root (hd0,1) ; this will tell grub that the linux files it needs are on the first hard disk (hd0) and the second partition (1) of that drive. Change this to meet your configuration needs. For instance, if the linux files are on the second hard disk (hd1), first partition (0) of that drive then type root (hd1,0).
If you selected the correct location (where linux is installed), you should see a message as follows.... Filesystem type is Ext2fs, partition type is 0x83.
Then issue the following command: setup (hd0) ; this will install grub in the MBR of your first hard disk. You could change that to use the /boot partition if desired.
Exit the grub utility with the command: quit

You can also try to use grub-install /dev/hda to install grub on your first hard drive's MBR, but the method described above is the preferred one.
 
Old 05-21-2005, 03:45 AM   #7
pop_harish
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: red hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
hi.....


thanx a lot for the help u have extended to me .........

regards
harish
 
  


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
grub and cdrom boot problems akempo Linux - General 2 01-29-2005 02:52 PM
grub, entry for 'boot from CDROM'? pubb Linux - Software 1 06-15-2004 08:01 AM
reinstall grub/lilo on MBR without cdrom boot lay_Z Linux - Newbie 5 03-12-2004 05:45 AM
can i use grub/lilo to boot an ext usb cdrom? jcoder24 Linux - Hardware 0 02-17-2004 07:28 AM
Question on grub.conf and Cdrom boot jimmmac Linux - Software 3 11-19-2003 06:17 AM

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

All times are GMT -5. The time now is 06:31 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