LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-11-2006, 07:54 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
Possible to boot linux off of network?


I have never gotten into booting from networks, so I am not sure what is possible. Right now I have a laptop and a computer with an extra hard drive. I want to put linux on that extra hard drive, however boot it from the laptop. Im not sure how this works or if it is even possible, but this would be an ideal solution for me. Thanks
 
Old 08-11-2006, 08:13 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
PXE ??? - never used it, but I've seen it mentioned in the grub manual.
Googleshould find plenty.
 
Old 08-11-2006, 09:21 PM   #3
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Rep: Reputation: 15
Hey android6011, I just stumbled across this, might provide you with some insight:

http://docs.sun.com/app/docs/doc/817...hm8o5nb?a=view
 
Old 08-11-2006, 09:32 PM   #4
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
so im still a little confused about how to go about doing this. One of my questions is can I boot from the spare drive on the extra computer when the extra computer is running Windows? I dont want to actually install and run linux, just store the fs on the extra drive.
 
Old 08-12-2006, 09:01 AM   #5
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Yes, it's posssible, and quite easy in fact, though there are several stages involved, and the initial boot process has changed from 2.4 (initrd) to 2.6 (initramfs).

The first stage is to get a bootloader running. You'll need either BIOS support for network booting or a trusty old floppy with pxegrub on it. There are other solutions of course, but I've only used grub. One handy advantage of grub is that you can download the menu.lst over the network, so you need minimal configuration at boot time (in the case of a floppy boot, you should never need to update the floppy even if you change the kernel etc).

Next, you need a kernel configured for network booting (dhcp/nfs must be compile in etc).

On the server, you need tftp (to download the kernel), dhcp to configure eth0, and nfs to mount /. The inital dowload of pxegrub requires the bootp protocol, the dhcp daemon can handle this too.

There should be a few HOWTOs about network booting on tldp.

Quote:
One of my questions is can I boot from the spare drive on the extra computer when the extra computer is running Windows?
That depends on whether Windows has bootp, tftp, dhcp, and nfs services. Personally, I'd recommend doing all this on a Linux box!
 
Old 08-12-2006, 12:36 PM   #6
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
i cant find a guide that shows how to go through the process of setting this up, are there any recommended ones? I plan on adding debian to the extra hard drive, so that i can boot it from my laptop
 
Old 08-12-2006, 04:00 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I recently made a little guide to kicking of a CentOS installation via netboot. It might help you.

The question is do you want to boot completely diskless system, or just load the kernel over the network? Ifthe latter, my guide should help get you started. If the former, you might want to look at this page. One problem is that although you can run a TFTP and DHCP server on any platform, I'm not sure if there are any good Windows NFS servers that are free (there are ones you can buy, I think) and I'm not sure if Linux can use SMBFS as a root filesystem.
 
Old 08-12-2006, 05:11 PM   #8
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
I want the second, I want no part of the file system on my laptop, i want it all on the extra hd, nothing but what is required for me to load the os over the network on my laptop
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux boot failed after configuring network interfaces in the boot procss domeili2006 Linux - General 1 07-14-2006 05:23 AM
Network boot rom linux server nguyenvu27 Linux - Networking 4 10-26-2004 12:31 AM
Network not accessible after boot; OK after network restart chriswei Linux - Networking 5 09-22-2004 10:16 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM
accessing a windows network from a linux network and vise vesra uche okorie Linux - Networking 0 12-16-2001 04:15 AM

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

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