Hello,

Thanks for the information but the problem isn't booting. I've updated 
syslinux to the required version to support booting isos from usb.

The process is somewhat like:

mkisofs creates install disk (.ISO file)
isohybrid transforms the iso file so that it can be DD'ed to an usb disk
dd if=ISOFILE of=/dev/usbdevice

boot machine with usb device. Boot occurs normaly as i'm presented with 
splashimage. Select install option (subset from isolinux.cfg):
...
label etva-smb-kvm-usb
  menu label ^Install ETVA-SMB-KVM from USBSTICK (This will erase all disks)
  kernel vmlinuz
  MENU HIDE
  append initrd=initrd.img ks=hd:sdc1:/ks.smb.kvm.usb.cfg
...

Instalation starts... because the KS file has "askmethod" directive anaconda 
askes for media where it can find the iso files. I select /dev/sdc1 (usb 
drive). 
In this point it fails because anaconda finds the exploded tree of install in 
/dev/sdc1 and not the iso files.


Booting the ISO file from CDROM and using a kickstart with "cdrom" method it 
works fine.

Thanks for any help,
Nuno Fernandes

On Wednesday 02 November 2011, Bryan J Smith wrote:
> I thought you stated you exploded the ISO on to the USB?  That's why I
> asked what file system was on the USB device.  You made no mention of
> using isohybrid prior.  You need to be very forward with these details.
> 
> 
> I do not believe SYSLINUX supports ISO9660 hybrid mode prior to 3.72 for
> ISOLINUX.  I believe EL5 uses a much earlier SYSLINUX (3.11).  You need to
> be on EL6 (3.86) for such support.  In fact, if you look through Bugzilla,
> you're not going to see such discussions regarding hybrid support until
> Fedora 12 or so.  EL6 is based on F12/F13 (circa 2009-2010), while EL5 is
> based on very aged FC6 (circa 2006).
> 
> 
> 
> ----- Original Message -----
> 
> From: Nuno Fernandes <[email protected]>
> Sent: Wednesday, November 2, 2011 2:01 PM
> 
> Hello,
> 
> It's formated with iso9660 (cdrom format). It's generated using isohybrid.
> 
> The iso created should install from cdrom and from usb..
> 
> Best regards,
> Nuno Fernandes
> 
> On Thursday 27 October 2011, Bryan J Smith wrote:
> > Is it formatted with an inode file system like Ext3 or Ext4?  Or did you
> > leave it FAT or NTFS?
> > 
> > Also, have you just tried putting the ISOs on the device instead?  It
> > typically goes much easier, especially if you fail to replicate every
> > symlink and other inode correct into an installation tree.
> > 
> > ----- Original Message -----
> > From: Nuno Fernandes <[email protected]>
> > Sent: Thursday, October 27, 2011 12:11 PM
> > 
> > Hello,
> > 
> > I have an USB disk with the rhel/centos DVD content exploded in the root
> > dir. I would like to use it to install rhel. In the kickstart i have:
> > 
> > askmethod
> > 
> > and when installing i select harddisk, point it to my usbdisk (/dev/sda1)
> > and anaconda gives an error saying that it can't find the rhel/centos
> > instalation in that directory.
> > 
> > For what i've checked, anaconda requires that the harddisk instalation
> > uses cd or dvds isos in the harddisk, but reading
> > http://docs.redhat.com/docs/en-
> > US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-kickstart2-
> > options.html i see:
> > 
> > #########################
> > install (optional)
> >
> >     Tells the system to install a fresh system rather than upgrade an
> >
> > existing system. This is the default mode. For installation, you must
> > specify the type of installation from cdrom, harddrive, nfs, or url (for
> > FTP or HTTP installations). The install command and the installation
> > method command must be on separate lines.
> >
> >         cdrom — Install from the first CD-ROM drive on the system.
> >         harddrive — Install from a Red Hat installation tree on a local
> >
> > drive, which must be either vfat or ext2.
> >
> >             --biospart=
> >             BIOS partition to install from (such as 82).
> >             --partition=
> >             Partition to install from (such as sdb2).
> >             --dir=
> >             Directory containing the variant directory of the
> >installation
> >
> > tree.
> >
> >         For example:
> >
> >         harddrive --partition=hdb2 --dir=/tmp/install-tree
> >
> > ############################################
> > 
> > It states that the directory in my harddisk/USB stick should contain the
> > "variant" directory of the installation tree.
> > 
> > Does anyone know how can i install from an exploded tree?
> > 
> > Thanks,
> > Nuno Fernandes
> > 
> > _______________________________________________
> > rhelv5-list mailing list
> > [email protected]
> > https://www.redhat.com/mailman/listinfo/rhelv5-list
> > 
> > 
> > _______________________________________________
> > rhelv5-list mailing list
> > [email protected]
> > https://www.redhat.com/mailman/listinfo/rhelv5-list
> 
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
> 
> 
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to