Thanks thorkelljarl
Now I have the HDD running.
Here the steps.
I'm under Debian Squeeze/Sid with modified repositories, so I'm not sure on which one the packages are.
1.- Download CentOS Live image -->
http://isoredirect.centos.org/centos/5/isos/i386/
2.- Install UNetbootin
Code:
aptitude install unetbootin
3.- Create the live USB.
- Use a >= 1GB pendrive
- Create it from the ISO you downloaded. There is a CentOS on the first option, but it's just an installer.
[EDIT 1]
Thanks to the documentation provided by thorkelljarl in the next post I have a persistent Live USB.
This is the mini-howto
Assumptions: This procedure needs a package I've only found in CentOS. I don't know of any equivalent for other distros. So I assume you are on CentOS.
1'.- create a new repo
Code:
nano /etc/yum.repos.d/CentOS-Livecd.repo
with this content
Code:
# Name: CentOS LiveCD repository
[livecd]
name = CentOS $releasever - LiveCD
baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live
enabled=1
protect=0
gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010
Important Note: If you are using the yum-priorities plugin you need to set this repo to the same you have for CentOS-Base.repo in order to have access to the right versions of syslinux and anaconda.
2'.- Import the GPG key
Code:
rpm --import http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010
3'.- update yum and install the packages
Code:
yum update
yum install livecd-tools syslinux anaconda-runtime
4'.- Create the bootable pendrive
the command is as follows
livecd-iso-to-disk --overlay-size-mb <size> <ISO path> <device path>
For me it would be
Code:
livecd-iso-to-disk --overlay-size-mb 1024 CentOS.iso /dev/sdb1
Note: This takes a while. In my particular case it took over 15 min.
Now you can follow with step 4 (of the original guide).
[END EDIT 1]
Now you have your bootable pendrive.
4.- Boot with it.
5.- Modify the repositories. You need to add the Al Server Repo
Code:
nano /etc/yum.repos.d/Al-Server.repo
put this
Code:
[AL-Server]
name=AL Server para Enterprise Linux $releasever
mirrorlist=http://www.alcancelibre.org/al/el$releasever/al-server
gpgcheck=1
gpgkey=http://www.alcancelibre.org/al/AL-RPM-KEY
and update the package list
[Edit 2]
The RPMForge repository is another way (and maybe safer, since I got to it from CentOS documentation) to get the ntfs-3g package.
I.- download the rpm package
Code:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
II.- get the GPG key
Code:
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
III.- Verify the package you have downloaded
Code:
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
IV.- Install the repo and update
Code:
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
yum update
[End Edit 2]
6.- Install ntfs-3g
Code:
yum install ntfs-3g
7.- Just connect your HDD
At this point I don't know how to make a Change Persistent Live USB, so you need to install ntfs-3g each time (with the corresponding internet connection).When I figure out how to fix that I'll update this post.
As I promised, the post is updated.
Thanks again