LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-24-2007, 11:31 AM   #1
dillybat
Member
 
Registered: Sep 2003
Location: Minnesota
Distribution: Red Hat 7.3, RHEL4 WS, FC 1-6, Ubuntu
Posts: 51

Rep: Reputation: 15
Question Grub to boot DVD drive


Here is the problem/challenge...

I have systems, in the field, with the BIOS locked down so they cannot be changed. This is the way that I need it to be. The BIOS is set to boot the internal HD only and will not allow a CD/DVD to be booted.

I want to create a grub entry/configuration, that will bypass the BIOS configuration, allowing me to boot a Linux Rescue CD/DVD or other live distro CD/DVD.

This configuration will be put in the /boot directory and the system will be rebooted. Upon the reboot the system needs to boot the CD/DVD distrobution.

The whole purpose of this exercise is that I want to be able to reimage the HD in the system via automated script. Booting from the CD/DVD will allow me full access to the HD.

What can you guys come up with for this?
 
Old 01-25-2007, 05:46 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
I suggest that if you are the legal owner of that device....you have lawful authority to change the bios boot order just like most of us....who use a live cd...its not big deal to boot up a live cd to image the hard drive.

But if you are concerned someone else will then try the same trick just set the bios boot order to hd only and set a password so only if an attempt is made to change the order ....the password is needed.

Any other advice would imho amount to possible unlawful activity and I am likely to then report this post to a moderator.
 
Old 01-25-2007, 10:33 AM   #3
dillybat
Member
 
Registered: Sep 2003
Location: Minnesota
Distribution: Red Hat 7.3, RHEL4 WS, FC 1-6, Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9
I suggest that if you are the legal owner of that device....you have lawful authority to change the bios boot order just like most of us....who use a live cd...its not big deal to boot up a live cd to image the hard drive.

But if you are concerned someone else will then try the same trick just set the bios boot order to hd only and set a password so only if an attempt is made to change the order ....the password is needed.

Any other advice would imho amount to possible unlawful activity and I am likely to then report this post to a moderator.
And you are? You don't know the situation and it is not your position in life to make that decision for me or other people. You would have better handled this by asking me outright if you had concerns instead of posting your mis-informed opinions and forcing your moral value on the rest.

With regards to reporting to a moderator... I am reporting you to the moderator for you actions.

First, I have legal authority. This is a linux based product line that I am trying upgrade in the field.

Second, the legacy systems in the field I need to upgrade each has a different password on the BIOS. I do not want these passwords out. This procedure I outline will allow me to creata a script that will boot from CD, modify the system, then remove the configuration. After the procedure is complete the system is again locked down.

FYI this is a one of a kind (no one else makes one) cardial medical device.
 
Old 01-25-2007, 10:53 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Guys, I think you both need to chill out for a bit. So far, I don't see anything wrong with the requests in the thread, so for now I am going to leave this thread open with the hope that it will continue in good spirit.
 
Old 01-25-2007, 05:40 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
quote and you are?

that is exactly why I posted the way I did.

EDIT

I will assume tho, that if you can change the system files, you are really are as nice as me, heh heh

I have never used this bootloader on my hd...but you may want to read this
http://syslinux.zytor.com/faq.php

look for the section on CD boot sector

if I understand this correctly....I may be wrong...you will have a chainload command to a bin file which is an image of the mbr for the removeable media.

Last edited by aus9; 01-25-2007 at 11:59 PM.
 
Old 09-06-2007, 10:34 PM   #6
bobpaul
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by dillybat View Post
I want to create a grub entry/configuration, that will bypass the BIOS configuration, allowing me to boot a Linux Rescue CD/DVD or other live distro CD/DVD.
Sure, that makes perfect sense. You want to be able to chainload a CD/DVD from GRUB. You can't do that with grub itself, however, you CAN have GRUB load something that can.

Check out this entry on the Gentoo wiki. If you use the fast method, then it's not Gentoo specific:
http://gentoo-wiki.com/TIP_Chainload...-ROM_from_GRUB

I could see doing this so you don't have to send the techs out to re-image a users computer. Just ssh in and change the grub/menu.lst so the DVD boot option is enabled, then have the user reboot to the imaging disk. That can either automatically pull down an image from the server, or contain an image on it's own.
 
  


Reply

Tags
boot, cd, dvd, grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Making Grub boot a cd/dvd? Chomper Linux - Software 9 01-14-2010 09:31 PM
Can Not Boot From DVD-RW Drive obnascar Linux - General 6 01-10-2008 05:40 AM
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
boot live cd or dvd with grub sharky Linux - Software 5 04-05-2005 02:23 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration