Re: [CentOS] suggestions for installing CentOS 5 via USB?

2009-06-19 Thread John Doe

From: Phil Schaffner philip.r.schaff...@nasa.gov
 John Doe wrote:
 ...
  Here's how I did my USB key (minus the kickstart part) but you need a linux
 (in a VM or from the live CD)...
  And you will have to change devices names!

 Cool!  Any problems with the bug mentioned in the release notes about
 /boot being written to a USB key, or does that only happen with
 diskboot.img?

 http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3

 When using diskboot.img to install from a USB drive, anaconda tries to
 install GRUB on the USB drive rather than on the local HDD. Removing the
 USB drive after getting into the GUI (before the partitioning section)
 works around this problem.

 Would you be interested in doing a Wiki article on this, or alternately,
 would you approve if I used your material for one?

 I already took the liberty of posting the procedure as an answer to a
 related thread on the Forum, with credit of course:

 http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=20641forum=37

Hum, my bad... I am myself using a kickstart file and I forgot I had to use the 
following line in it (and I use HP raid controlers):

 bootloader --driveorder=cciss/c0d0,sda --location=mbr

For the kickstart, I use the following:

 In syslinux/syslinux.cfg:
  append initrd=initrd.img ks=hd:sda2:/ks.cfg method=hd:sda2:/centos

 In /media/DATA/ks.cfg (in their respective sections):
  harddrive --partition=sda2 --dir=/centos
  ignoredisk --drives=sda
  bootloader --driveorder=cciss/c0d0,sda --location=mbr

And, to be honest, I should not really get credit for this; I found most of the 
info on the web... ^_^

And I also reported earlier that:
1. My server HP does not seem to want to boot on a write protected USB key.
2. Anaconda tries to fetch the ks.cfg too early...  If, once the detection is 
over (just 2-3 seconds later), I retry, it works.
3. There is an error message cannot mount read/write, will mount read-only (I 
like to write protect)

JD


  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] suggestions for installing CentOS 5 via USB?

2009-06-19 Thread Phil Schaffner
John Doe wrote:
 From: Phil Schaffner philip.r.schaff...@nasa.gov
...
 Hum, my bad... I am myself using a kickstart file and I forgot I had to use 
 the following line in it (and I use HP raid controlers):
...
 And, to be honest, I should not really get credit for this; I found most of 
 the info on the web... ^_^

You certainly get credit for pulling it together, but I'm taking this as 
implicit permission and have created a Wiki page.  If you prefer, I'll 
omit mention of John Doe there, but then I'm even more undeserving of 
credit for just documenting it, so will leave in the attribution unless 
you object.

 And I also reported earlier that:
...

OK will take all that into account.

Thanks,
Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] suggestions for installing CentOS 5 via USB?

2009-06-18 Thread Phil Schaffner
John Doe wrote:
...
 Here's how I did my USB key (minus the kickstart part) but you need a linux 
 (in a VM or from the live CD)...
 And you will have to change devices names!

Cool!  Any problems with the bug mentioned in the release notes about 
/boot being written to a USB key, or does that only happen with 
diskboot.img?

http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3

When using diskboot.img to install from a USB drive, anaconda tries to 
install GRUB on the USB drive rather than on the local HDD. Removing the 
USB drive after getting into the GUI (before the partitioning section) 
works around this problem.

Would you be interested in doing a Wiki article on this, or alternately, 
would you approve if I used your material for one?

I already took the liberty of posting the procedure as an answer to a 
related thread on the Forum, with credit of course:

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=20641forum=37

Thanks,
Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] suggestions for installing CentOS 5 via USB?

2009-06-17 Thread Rogelio
I'm having problems installing CentOS via a USB drive.

First, I tried using Unetbootin, but with no avail. The 8MB netinstall 
doesn't work, and the big DVD image doesn't work either.

http://lubi.sourceforge.net/unetbootin.html

Then I tried this

http://www.pendrivelinux.com/usb-centos-5-live-install-via-windows/

with a CentOS DVD file, and that did not work (just hangs). I tried to 
use the live cd, but then found out that I cannot install the OS with 
the live cd (like you can with Ubuntu).

I don't have easy access to Linux or spare computers, so I used my 
Windows laptop to dd to the USB.

**
C:\installs\ if=c:\installs\CentOS-5.3-i386-bin-dvd.iso 
of=\\.\Volume{5a5e4
fb1-b53a-11dd-b7f4-001492190322} --size --progress bs=1M
rawwrite dd for windows version 0.5.
Written by John Newbigin j...@it.swin.edu.au
This program is covered by the GPL.  See copying.txt for details
3,971,014,656
3787+1 records in
3787+1 records out
**

Then I tried to install the bootsect.bin bit

**
C:\installs\mkbtmkbt -x d: bootsect.bin
* Expert mode (-x)
Size=0bytes OEM= VolLabel= FileSys=
**

I then booted to it, but it didn't work!

Any suggestions?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos