LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-10-2013, 12:14 PM   #1
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Testing/Unstable
Posts: 110

Rep: Reputation: 23
Question How to boot from GRUB version 1 on an ISO on the hard drive.


I just inherited a (circa 2009) laptop.
I cannot boot via CD/DVD, and the flash drives aren't working properly.
The drive does have a "Lenny" install.

I did manage to transfer the netinstall ISO image to the internal drive, but I cannot figure out the parameters to boot from the hard drive.

The netinstall image lives on /home/iso
and it is running under VERSION 1 of grub

(I am a stroke survivor, and am, thus, a perpetual noobie)
 
Old 01-10-2013, 06:38 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,026

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Try this: http://www.teachmejoomla.net/code/li...-from-hdd.html
Also look at this sections 2.4-4.6: http://www.debian.org/releases/stable/i386/
You might find some answers here too:http://knoppix.net/forum/threads/115...t.ini%29/page2
By the way what is wrong with the CD/DVD drive?

Regards
 
Old 01-10-2013, 06:44 PM   #3
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,541

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Do you want to boot the netinstall iso from the hard drive?

If so, loop mount it. If it is named netinstall.iso you would do as root: mount -o loop netinstall.iso /home/iso. You should then be able to navigate to /home/iso and see the isolinux folder. Go to that folder and open isolinux.cfg and post the first boot entry. You should be able to boot an extracted Live CD from Grub Legacy. You would need to make sure that the stage2_eltorito file is in /boot/grub of Debian. The grub files are usuallyin in /usr/lib/grub or /lib/grub. I don't have Debian installed so I don't know where the files are. I'm not sure if this will work with a netinstall, never done that.

I boot a Puppy Live CD that way. This is the entry for it on sda8 which also holds PCLinuxOS. Puppy is pretty simple.

Quote:
title Puppy-Lupu-511
kernel (hd0,7)/puppy/vmlinuz
initrd (hd0,7)/puppy/initrd.gz

Last edited by yancek; 01-10-2013 at 06:46 PM.
 
Old 01-10-2013, 08:24 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,116

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Some people use grub4dos.
 
Old 01-11-2013, 07:19 PM   #5
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Testing/Unstable
Posts: 110

Original Poster
Rep: Reputation: 23
A Weird Solution

Like I said, is had just inherited the thing. I don't know exactly what is wrong with the cdrom, I just know is that it wouldn't work. Same thing with booting from the USB stick. I can read and write but I could not boot from it, even though I can boot from another computer.

Well, even though the laptop hadn't been upgraded in about a thousand years, the original owner, my wife, had never deleted any of the archived *.deb files, so I re-installed all of the *.deb files and brought up the system, such as it was. I moved the static IP addresses to DHCP and I was back in business with upgrading everything to current STABLE Debian.

I still haven't found out how to reboot from the ISO, but I didn't find an answer that addressed the particular questions I had.

Thank you, everyone, in helping me with your advice.
 
Old 01-12-2013, 09:17 AM   #6
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,541

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
I still haven't found out how to reboot from the ISO
You got a general answer in my post above to your general question. It would not be possible to give you any more specific information without you providing the exact name of the iso, the contents of the iso when loop mounted and the isolinux.cfg entries.

Anyway, glad you got it working.
 
  


Reply

Tags
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
LXer: How to Boot ISO Images from Your Hard Drive LXer Syndicated Linux News 0 03-21-2011 08:41 AM
How to boot Fedora Live CD iso from Hard Drive? drroot Fedora 3 11-11-2010 11:33 PM
LiveCD iso boot from hard drive linuxhippy Linux - General 9 06-21-2009 06:44 AM
Boot from iso in ntfs hard-drive linux_padawan Linux - Laptop and Netbook 3 05-03-2006 10:36 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM


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