LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-06-2005, 10:56 AM   #1
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Rep: Reputation: 30
booting miniroot (on hard drive)


Hi,

I am trying to boot a liveCD from hard disc.....(poor mans install)

my lilo.conf looks like this

Code:
image=/mnt/hdb1/isolinux/linux26
        label=prodevCD
        initrd=/mnt/hdb1/isolinux/miniroot.gz
        read-only
        root=/dev/hdb1
If I boot liveCD (CD) then I get loading linux26 loading miniroot.gz

When I boot from disc kernel only loads then I get kernel panic.... (devfs error prior to panic)

I read an article showing this method with knoppix ...

Wondering why miniroot is not loading ...????

thanks in advance

Dave T.
 
Old 01-06-2005, 11:03 AM   #2
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
initrd=/mnt/... What?!? You did not even boot a kernel yet, so how can you alerady have your CD mounted on /mnt ?!?

I am puzzeled. Is that really what you want to do?

Asks

Peter
 
Old 01-06-2005, 11:18 AM   #3
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Sorry the

/mnt/hdb1 is the drive the liveCD is on ....

It was the only way I could get other distros to boot from second hard drive......


Code:
image=/isolinux/linux26
        label=prodevCD
        initrd=/isolinux/miniroot.gz
        read-only
        root=/dev/hdb1
maybe that looks better
 
Old 01-06-2005, 11:32 AM   #4
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
hmm, this looks more reasonable. Do not forget to run lilo on it and reboot, I am curious if this works...
 
Old 01-06-2005, 11:34 AM   #5
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Forgot: where do you put your swapfs? Where does /var go? AFAIK, Knoppix creates a cramfs for that...
 
Old 01-06-2005, 12:15 PM   #6
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
I tried using Knoppix (poor mans install) ...

If you add

append = ("fromhd=/dev/hdb1") then it works ... I can boot knoppix from hard drive (yay!)

but thats not my problem the miniroot I wish to use does not contain linuxrc ... only isolinux.cfg ...

So I guess I have more reading up to do....

Dave T.

Last edited by DavidTempler; 01-07-2005 at 10:26 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why linux not booting in my new hard drive? redship Linux - General 2 02-25-2004 02:37 PM
why linux booting in my new hard drive? redship Linux - Hardware 1 02-25-2004 08:56 AM
Hard Drive Error When Booting nrunge Linux - Hardware 3 11-09-2003 11:40 AM
Booting from a Separate Hard Drive sneakers Linux - Laptop and Netbook 7 10-29-2003 12:13 PM
Booting from a USB hard drive?? justiceisblind Linux - Newbie 4 05-24-2002 04:50 PM

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

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