Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My Gentoo diskless install howto
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Tue May 20, 2003 11:21 pm    Post subject: Reply with quote

I'm afraid it's not that simple. I also use swap over NFS, but you need to do this through a loopback device to fool your system, because swap over NFS normally isn't allowed...
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
HAsker
n00b
n00b


Joined: 20 May 2003
Posts: 15

PostPosted: Wed May 21, 2003 1:02 am    Post subject: Reply with quote

humm now i got my system to boot into grub but i wont boot because it restarts just when it's going to boot gentoo though the network...
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 2:15 am    Post subject: Reply with quote

Anyone have a boot floppy working?? I was trying the suggestion that BradN posted, however after the client downloads the pxegrub it says that it is an invalid image....

Any ideas??

chris
Back to top
View user's profile Send private message
karch
n00b
n00b


Joined: 21 May 2003
Posts: 8
Location: Ottawa, Ontario, Canada

PostPosted: Wed May 21, 2003 3:33 am    Post subject: Boot floppy Reply with quote

I had the same invalid image problem with pxegrub, so I downloaded a .lzdsk rom image from rom-o-matic.net and used nbgrub instead -- and everything was much happier... you can find nbgrub in the same stage2 dir as pxegrub in the grub source tree.

-Mike

ctford0 wrote:
Anyone have a boot floppy working?? I was trying the suggestion that BradN posted, however after the client downloads the pxegrub it says that it is an invalid image....

Any ideas??

chris
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed May 21, 2003 4:07 am    Post subject: Reply with quote

I'd only tested it with the network boot server that knoppix includes, but it seemed to work fine... maybe check how knoppix does it for clues? (tip: let knoppix be the only dhcp server it sees)
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 4:46 am    Post subject: Reply with quote

Alright, I seem to have gotten past that barrier (thanks karch), however I think I just hit a brick wall. I get the grub menu and I pick the diskless gentoo then it executes the grub commands. After this I see:
Code:

Booting command-list

root (nd)
  Filesystem type is tftp, using whole disk
kernel /node1/boot/bzImage ip=dhcp root=/dev/nfs nfsroot=192.168.1.1:/diskless/node1/
  [Linux-bzImage, setup=0xc00, size=0x13bb66]


Thats as far as I ever get. Do I need to somehow put the bzImage in some other format or anything?

Thanks again for all the help....

Chris
Back to top
View user's profile Send private message
HAsker
n00b
n00b


Joined: 20 May 2003
Posts: 15

PostPosted: Wed May 21, 2003 1:07 pm    Post subject: Reply with quote

argh... i wounder why my comp just restarts when it's about to start gentoo :/
anyone have a clue?
Back to top
View user's profile Send private message
Swiss.Mage
n00b
n00b


Joined: 24 Mar 2003
Posts: 49
Location: Switzerland

PostPosted: Wed May 21, 2003 2:05 pm    Post subject: Reply with quote

Is your kernel image booting or not ?

If not, it could be an image corruption prolem (check md5sum) or a kernel misconfiguration.

If yes, and if the kernel seems to boot but the computer reboot imediatly, check if the NFS root partition is mounted correctly. Check also your NFS server configuration. Your /etc/exports config file should be like this :
Quote:
# /etc/exportfs: NFS file systems being exported. See exports(5).
/diskless/eta eta(rw,sync,no_root_squash)

_________________
EPFL
http://www.epfl.ch
Swiss Federal Institute of Technology
Back to top
View user's profile Send private message
karch
n00b
n00b


Joined: 21 May 2003
Posts: 8
Location: Ottawa, Ontario, Canada

PostPosted: Wed May 21, 2003 3:03 pm    Post subject: Reply with quote

It sounds like something is wrong with your tftp server if this is the last thing you see... have you tested to see if you can do basic tftp file transfers?

-Mike

ctford0 wrote:
Code:

Booting command-list

root (nd)
  Filesystem type is tftp, using whole disk
kernel /node1/boot/bzImage ip=dhcp root=/dev/nfs nfsroot=192.168.1.1:/diskless/node1/
  [Linux-bzImage, setup=0xc00, size=0x13bb66]


Thats as far as I ever get. Do I need to somehow put the bzImage in some other format or anything?

Thanks again for all the help....

Chris
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 3:51 pm    Post subject: Reply with quote

Could it be the tftp server? I had to download the grub image before this using tftp right?

Chris
Back to top
View user's profile Send private message
karch
n00b
n00b


Joined: 21 May 2003
Posts: 8
Location: Ottawa, Ontario, Canada

PostPosted: Wed May 21, 2003 4:45 pm    Post subject: Reply with quote

Yep... the boot floppy gets you the grub image, which then tells it to use tftp to boot. What happens if you do a test transfer from your tftp server from your workstation (or from the server itself for that matter)? It should go something like this:

Code:
[user@host]$ tftp 192.168.1.1
tftp> get /client/boot/bzImage
Received 994286 bytes in 0.9 seconds


ctford0 wrote:
Could it be the tftp server? I had to download the grub image before this using tftp right?

Chris
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Wed May 21, 2003 4:48 pm    Post subject: Reply with quote

I got mine booting, but I constantly gets kernel panic :cry:
Something with:
Code:
/dev/ide/host0/bus0/target0/lun0:kernel BUG at sched.c:1141!
invalid operand: 0000

And then it dumps the kernel, and end with this:
Code:
<0>Kernel panic: Aiee, killing interrupt handler!

_________________
Queen Rocks.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 6:09 pm    Post subject: Reply with quote

karch: I tried the tftp on the server itself and everything worked fine.
Code:

root@dummy ctford0 # tftp 192.168.1.1
tftp> get /node1/boot/bzImage
Received 1312042 bytes in 6.4 seconds
tftp> quit
root@dummy ctford0 #


any other suggestions?

chris
Back to top
View user's profile Send private message
HAsker
n00b
n00b


Joined: 20 May 2003
Posts: 15

PostPosted: Wed May 21, 2003 7:12 pm    Post subject: Reply with quote

ctford0:
I think we have the same problem because that's the only text i can see too... but i'am pxebooting directly.. it's very strange...
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 7:37 pm    Post subject: Reply with quote

HAsker how large is your kernel? I noticed that mine is quite a bit larger than karch's. Is there some limit maybe on how large the kernel can be?
Or maybe my network card just sucks...

Chris
Back to top
View user's profile Send private message
HAsker
n00b
n00b


Joined: 20 May 2003
Posts: 15

PostPosted: Wed May 21, 2003 7:43 pm    Post subject: Reply with quote

maybe it's something like that.. mine is
Code:

hasker@hasker boot $ du -h  bzImage
1.4M    bzImage

:)
Back to top
View user's profile Send private message
karch
n00b
n00b


Joined: 21 May 2003
Posts: 8
Location: Ottawa, Ontario, Canada

PostPosted: Wed May 21, 2003 7:57 pm    Post subject: Reply with quote

I wouldn't think that the size of the kernel would matter, but then again, you never know. I built a very basic kernel without too many bells and whistles - only 968K. Besides the options, that SwissMage has in the HOWTO, I didn't add much more than the driver for my crappy ol' RTL8139 network adapter.

-Mike
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed May 21, 2003 8:11 pm    Post subject: Reply with quote

I'll try striping my down tonight and see if it helps.

Chris
Back to top
View user's profile Send private message
HAsker
n00b
n00b


Joined: 20 May 2003
Posts: 15

PostPosted: Wed May 21, 2003 8:16 pm    Post subject: Reply with quote

ok.. post the answer because i dont have the time to try it :/
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Thu May 22, 2003 5:14 am    Post subject: Reply with quote

Welp, I cut my kernel down by a couple hundred kb but still doesn't help. Im beginning to thing that I just have a crappy net card. Oh well, dont really know where to go from here.

Any suggestions??

chris
Back to top
View user's profile Send private message
Swiss.Mage
n00b
n00b


Joined: 24 Mar 2003
Posts: 49
Location: Switzerland

PostPosted: Thu May 22, 2003 7:07 pm    Post subject: Reply with quote

After looking on the net, it seems there's a limit in the size of the file that can be transfered by TFTP but I cannot find a value ...

As example, my kernel image is 1.2 MB big.
_________________
EPFL
http://www.epfl.ch
Swiss Federal Institute of Technology
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Thu May 22, 2003 7:36 pm    Post subject: Reply with quote

I think mine was just a little larger than that...

I might give it another try later tonight.

Thanks

Chris
Back to top
View user's profile Send private message
sebest
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 163
Location: Paris - France

PostPosted: Fri May 23, 2003 7:35 pm    Post subject: Reply with quote

Swiss.Mage wrote:
After looking on the net, it seems there's a limit in the size of the file that can be transfered by TFTP but I cannot find a value ...

As example, my kernel image is 1.2 MB big.


I think it's around 50 or 70Mo.

I used to download a debian rootfs to run many diskless webservers from ram (not root nfs), and i hited that limit. But i don't know if it depends on the tftp client or the tftp server. But with grub i manage to download an initrd as big as 50Mo.
_________________
--
Seb aka "Mr Est"
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Fri May 30, 2003 2:19 pm    Post subject: Problem Reply with quote

Mine seemed to work fine the first time, but everytime after that when I try to boot my client it dies at trying to mount my root filesystem R/W.

Quote:
* Root filesystem could not be mounted R/W :( [ !! ]


My export file looks like:

Code:
/diskless/nc001 *(rw,sync,no_root_squash)


Any help would be welcome.
Back to top
View user's profile Send private message
zuluh
n00b
n00b


Joined: 19 Jun 2003
Posts: 3

PostPosted: Thu Jun 19, 2003 9:38 pm    Post subject: Reply with quote

If I do as the HOWTO says.. If I happen to have a disc on my discless client :lol: , can I reach it somehow? I wanna use this method to install gentoo on my laptop that hasn't got CD or discdrive, but a PXE enabled card..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum