Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 02:19
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Netbooting diskless client; need rc.sysinit help....Barry ?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

PostPosted: Tue 28 Jun 2005, 03:42    Post_subject:  Netbooting diskless client; need rc.sysinit help....Barry ?  

The scene....

Puppy 1.0.3 loading the kernel and image.gz via pxe (ie network boot)

Booting goes ok until we need to mount /mnt/home and then loop mount /usr as we have no local storage.

What I want to do is mount /mnt/home via nfs and then loop mount usr_cram.fs via the share.

Now I've noticed in rc.sysint that there is a test to see if we are booting from a hard disk install and a branch if we are. Now I want to insert a test to see if we are booting from the network (PNET="some such parameters) and then exec rc.sysinit-net (or some such script I cobble together).

I have tested this with the standard boot scripts and then let it boot , got mesages about no usr_cram.fs being found, mounted the remote share then mounted usr_cram.fs, logged out then straight back in (LIBRARY path gets updated this way, if you dont mozilla can't find it's libraries).
I want something more elegant and have the option of using an existing pup001 file or recreating one on the fly or just not mounting one at all.

Now what I would really like to know is what variables do I have to set after my sysinit script runs so that puppy runs smoothly....

Maybe in 5 or 6 releases this could become part of the "mainstream" release, as I see puppy could be great in classroom,lab or internet cafe enviroment.
I doubt if we'd need the unionfs feature in this situation.
I know I did get puppy booting remotely before but this was heavily version dependant and a lot of work to setup.
Even a machine booting from a cd could still mount /mnt/home, usr_cram.fs and pup001 via a share. All ip parameters as well as the nfs server and shares can be given on the command line or via user defined options in the dhcp.conf file on the server.

And no custom kernel would be required, ethernet drivers would be loaded as per normal.

I know it's a big ask but diskless booting\client really have me intrigued.

Thanx once again
Back to top

Joined: 04 May 2005
Posts: 361
Location: Germany, 37603

PostPosted: Tue 28 Jun 2005, 08:13    Post_subject: Just another suggestion..  

Hi bladehunter,

When I fiddled around with grub hdd boot, I read in the manual, that grub
can load kernel and image.gz via network, requiring only tftp server setup.
This together with usr_cram.fs inside image.gz (checkout John's versions),
could be another possibility...


BTW: I also think a network boot for classrooms/internet cafes would be
great! But the setup should be close to nothing (wrap it inside scripts, go for adress ranges etc.)

Have fun Smile
Back to top
View user's profile Send_private_message Visit_website 

PostPosted: Tue 28 Jun 2005, 14:54    Post_subject:  

That method works fine, if you have +128MB or a swap partiton but the request I had was for lesser spec'd machines......Like I said I did getting going before but the instructions were long winded and some people didn't follow ALL of them to the letter and had problems.I'm looking for something simpler and more portable across versions
Back to top
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0512s ][ Queries: 11 (0.0095s) ][ GZIP on ]