View previous topic :: View next topic |
Author |
Message |
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Tue May 20, 2003 11:21 pm Post subject: |
|
|
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 |
|
|
HAsker n00b
Joined: 20 May 2003 Posts: 15
|
Posted: Wed May 21, 2003 1:02 am Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 2:15 am Post subject: |
|
|
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 |
|
|
karch n00b
Joined: 21 May 2003 Posts: 8 Location: Ottawa, Ontario, Canada
|
Posted: Wed May 21, 2003 3:33 am Post subject: Boot floppy |
|
|
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 |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Wed May 21, 2003 4:07 am Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 4:46 am Post subject: |
|
|
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 |
|
|
HAsker n00b
Joined: 20 May 2003 Posts: 15
|
Posted: Wed May 21, 2003 1:07 pm Post subject: |
|
|
argh... i wounder why my comp just restarts when it's about to start gentoo :/
anyone have a clue? |
|
Back to top |
|
|
Swiss.Mage n00b
Joined: 24 Mar 2003 Posts: 49 Location: Switzerland
|
Posted: Wed May 21, 2003 2:05 pm Post subject: |
|
|
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 |
|
|
karch n00b
Joined: 21 May 2003 Posts: 8 Location: Ottawa, Ontario, Canada
|
Posted: Wed May 21, 2003 3:03 pm Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 3:51 pm Post subject: |
|
|
Could it be the tftp server? I had to download the grub image before this using tftp right?
Chris |
|
Back to top |
|
|
karch n00b
Joined: 21 May 2003 Posts: 8 Location: Ottawa, Ontario, Canada
|
Posted: Wed May 21, 2003 4:45 pm Post subject: |
|
|
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 |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Wed May 21, 2003 4:48 pm Post subject: |
|
|
I got mine booting, but I constantly gets kernel panic
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 6:09 pm Post subject: |
|
|
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 |
|
|
HAsker n00b
Joined: 20 May 2003 Posts: 15
|
Posted: Wed May 21, 2003 7:12 pm Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 7:37 pm Post subject: |
|
|
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 |
|
|
HAsker n00b
Joined: 20 May 2003 Posts: 15
|
Posted: Wed May 21, 2003 7:43 pm Post subject: |
|
|
maybe it's something like that.. mine is
Code: |
hasker@hasker boot $ du -h bzImage
1.4M bzImage
|
|
|
Back to top |
|
|
karch n00b
Joined: 21 May 2003 Posts: 8 Location: Ottawa, Ontario, Canada
|
Posted: Wed May 21, 2003 7:57 pm Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed May 21, 2003 8:11 pm Post subject: |
|
|
I'll try striping my down tonight and see if it helps.
Chris |
|
Back to top |
|
|
HAsker n00b
Joined: 20 May 2003 Posts: 15
|
Posted: Wed May 21, 2003 8:16 pm Post subject: |
|
|
ok.. post the answer because i dont have the time to try it :/ |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu May 22, 2003 5:14 am Post subject: |
|
|
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 |
|
|
Swiss.Mage n00b
Joined: 24 Mar 2003 Posts: 49 Location: Switzerland
|
Posted: Thu May 22, 2003 7:07 pm Post subject: |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu May 22, 2003 7:36 pm Post subject: |
|
|
I think mine was just a little larger than that...
I might give it another try later tonight.
Thanks
Chris |
|
Back to top |
|
|
sebest Apprentice
Joined: 03 Jul 2002 Posts: 163 Location: Paris - France
|
Posted: Fri May 23, 2003 7:35 pm Post subject: |
|
|
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 |
|
|
Edweirdo Guru
Joined: 28 Jan 2003 Posts: 353 Location: Boston, Mass, USA
|
Posted: Fri May 30, 2003 2:19 pm Post subject: Problem |
|
|
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 |
|
|
zuluh n00b
Joined: 19 Jun 2003 Posts: 3
|
Posted: Thu Jun 19, 2003 9:38 pm Post subject: |
|
|
If I do as the HOWTO says.. If I happen to have a disc on my discless client , 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 |
|
|
|