SLC6 for VP315: Use PXE boot and follow the instructions given here

SLC5 for VP110:

Installation

  1. Use USB memory to boot SBC
  2. Run "linux text console=ttyS0,9600"
  3. Install Linux usign HTTP, "linuxsoft.cern.ch", "/cern/slc57/i386/" (if slc57 does not work try slc53 - slc58)

If the HD-boot stops after "grub stage 2" try this:

  1. Use USB memory to boot SBC once more
  2. Run "linux rescue console=ttyS0,9600"
  3. edit grub.conf:
    1. comment out these two lines
      1. serial --unit=0 --speed=9600
      2. terminal --timeout=5 serial console
    2. Edit this string: "root (hd1,0)" -> "root (hd0,0)"
  4. Run "grub" and enter "geometry (hd0)"
  5. Run
     /sbin/fdisk -lu /dev/sdc | grep head | awk '{ print "geometry (hd0) " $5 " " $1 " " $3} ' 
  6. If the two commands above do not give the same result run: fdisk -lu /dev/sdc | grep head | awk '{ print "geometry (hd0) " $5 " "$1 " " $3} ' | grub
NOTE: "sdc" may not be the proper name of the disk
  1. If the boot process stops with a "grub >" prompt use "find /grub/grub.conf" to check if the file exists and then "configfile /grub/grub.conf" to tell grup to use that file. Once the system is booted run "/sbin/gub-install /hdc" (check if the dist is hdc)

SLC6 (nonpae) for VP110:
Preparation of the USB stick and want to install an ISO image (CD-ROM) on it you can try this but it may not work.

  1. If you have a image for USB
    1. /bin/dd if=diskboot.img of=/dev/sdX
  2. If you have an ISO file for CD-ROM
    1. Use a Windows program such as Win32DiskImager (see folder "RCC")

Reiner has successfully made a stick. He wrote:

This is the recipe for creating a vFAT formatted USB stick that can be booted into the i386nonpae kernel. I've put the necessary files onto my AFS area (see 'quick way' further below):

1. Prepare a USB stick with VFAT file system, e.g. by formatting it under Windows, or mkfs.vfat under Linux.

2. Prepare to boot it with syslinux (see http://www.syslinux.org); assuming here that the USB stick is /dev/sdb with one partition /dev/sdb1:

# syslinux /dev/sdb1

You should now see a file ldlinux.sys on the usb stick when you mount it:

# mkdir -p /mnt/usb # mount /dev/sdb1 /mnt/usb

############################ from scratch ################################################

3. Get the boot.iso image from http://linux.web.cern.ch/linux/scientific6/nonpae.shtml

% wget http://linuxsoft.cern.ch/cern/slc6X/i386nonpae/images/boot.iso

4. Loop mount it under Linux (probably requires root access):

# mkdir disk # mount -o boot.iso disk

5. Copy two files from the image to the USB stick:

# cp disk/isolinux/vmlinuz disk/isolinux/initrd.img /mnt/usb/

6. Create the file /mnt/usb/syslinux.cfg:


DEFAULT linux PROMPT 1

LABEL linux KERNEL vmlinuz APPEND ro root=/dev/sda1 initrd=initrd.img

LABEL serial KERNEL vmlinuz APPEND ro root=/dev/sda1 initrd=initrd.img console=ttyS0,9600n8


Done. Unmount USB stick and boot from it...

############################## quick way #######################################################

3a) cd /afs/cern.ch/work/r/rhauser/public/nonpae-usb/ cp * /mnt/usb/

Modify syslinux.cfg as you like by adding more or different options.

-- MarkusJoos - 19 Dec 2007

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r9 - 2014-01-15 - MarkusJoos
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback