[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] Booting error in Customizing the Generic Image



Hello Ryan,

There is "Node Options->Edit Node Info->Def Boot OS:ADMIN-LINUX" on the
webpage, so that I can boot my node into linux admin MFS successfully.
You can refer to my attached picture. Thanks a lot.
Then, is there any instruction on how to customize node image under
linux admin MFS? I attempted to load a FSD6.4 image into node, but it
fails.
*******************************
boss# sudo ssh pc1 imageunzip -s 1 - /dev/$DSK  <
/usr/testbed/images/FBSD64-GENERIC.ndz
Could not get the entire DOS label
Failed to read MBR
*******************************
Best Regards,

Cheng Cui
. Frey Computing Services Center . Baton Rouge, LA 70803


-----Original Message-----
From: Cheng Cui [mailto:ccui1@tigers.lsu.edu] 
Sent: Sunday, November 01, 2009 12:02 PM
To: 'Ryan Jackson'
Cc: 'Testbed-admins@flux.utah.edu'
Subject: RE: [Testbed-admins] Booting error in Customizing the Generic
Image

Hello Ryan,

For your previous email, yes, I am using a remote VGA console just for
test. So the VGA mode is applicable.
I have re-downloaded your new tarball, removed the serial terminal part
of all the grub.cfg, and redistributed them in /tftpboot. By the way,
the path of several kernel files including Frisbee should be changed
under /tftpboot/, I have already modified them both within grub.cfg and
the MySQL database, e.g. the table 'node_type_attributes'.

However, the booting default image failed. Please refer to my attached
pictures. In the grub menu, it does not response to the "Emulab Boot".
Do I miss something? Thanks a lot.

Best Regards,

Cheng Cui
. Frey Computing Services Center . Baton Rouge, LA 70803


-----Original Message-----
From: 'Ryan Jackson' [mailto:rdjackso@flux.utah.edu] 
Sent: Sunday, November 01, 2009 12:30 AM
To: Cheng Cui
Cc: Testbed-admins@flux.utah.edu
Subject: Re: [Testbed-admins] Booting error in Customizing the Generic
Image

* 'Ryan Jackson' <rdjackso@flux.utah.edu> [091031 23:18]:
> * 'Ryan Jackson' <rdjackso@flux.utah.edu> [091030 17:46]:
> > * Cheng Cui <ccui1@tigers.lsu.edu> [091030 17:13]:
> > > Yes, it works. Now, I can see the grub prompt. Thanks very much.
> > > However, how could I boot the admin MFS and then customize the
node
> > > image? It looks this linux based pxeboot a little bit different
from the
> > > FreeBSD based one, at least the admin MFS cannot be loaded
> > > automatically.
> > 
> > Actually you shouldn't normally see a grub prompt, but you should
see
> > some output besides that initial message from Grub.  The fact that
> > you're not implies that something is wrong somewhere.  Once
everything
> > is working, the Linux MFS will load automatically.
> > 
> > Was the picture you sent earlier of a serial console or some sort of
> > remote-console application?  I'm not sure what kind of machine
you're
> > working with, so it would help to know something about it.
> 
> Try this:
> 
> Move the grub.cfg file back to where it was before, then comment out
> the first three lines of the file (the lines starting with 'terminal'
> and 'serial').  Try booting grub again and tell me if you get any
> output.
> 
> If this works, you will also need to change the kernel command lines
> in /tftpboot/frisbee_linux/grub.cfg and
> /tftpboot/admin_linux/grub.cfg.  Delete the part that says
> 'console=ttyS0,115200' to force the output to go to the VGA console.

It seems I forgot a file in the tarball I uploaded last week.  I've
replaced the tarball with a fixed version.  Download
http://www.emulab.net/downloads/linux_boot.tar.gz again and re-extract
the linux_mfs.tar.gz tarball.  One of the grub config files needed to
boot was missing from this tarball, which may explain some of your
problems.

Attachment: linux admin booting success.JPG
Description: JPEG image