From: Bernd Nies (listuser_at_adnovum.ch)
Date: Wed Nov 16 2005 - 10:39:59 CET
Message-ID: <437AFE6F.6030909@adnovum.ch> Date: Wed, 16 Nov 2005 10:39:59 +0100 From: Bernd Nies <listuser@adnovum.ch> Subject: Re: [suse-sles-e] SLES9 + SP2 on DVD
Alexei Roudnev wrote:
> It all looks as well known issue with megaraid; you can install from
> release and then upgrade to SP1 and then to SP2.
>
> I am not sure in yoru case, but if you try to upgrade RELEASE -> SP2 without
> SP1 first, you will got into the same issue. They (SuSe) changed module name
> somewhere, and system put wrong module into inetrd (use wrong name) and so
> cannot find root disk.
On the SLES9 SP2 DVD that I created according to Kirk's instructions
earlier in this thread I solved this problem by replacing the kernel and
ramdisk containing modules and Yast installer with that from SP2 CD.
So, creating a bootable DVD from YaST SLES9 SP2 installation source is
as follows:
1) Take original SLES9 SP2 installation source which looks like this:
lrwxrwxrwx boot -> SUSE-SLES-Version-9/CD1/boot
lrwxrwxrwx content -> SUSE-SLES-Version-9/CD1/content
lrwxrwxrwx control.xml -> SUSE-SLES-Version-9/CD1/control.xml
lrwxrwxrwx driverupdate ->
SUSE-SLES-9-Service-Pack-Version-2/CD1/driverupdate
lrwxrwxrwx linux -> SUSE-SLES-9-Service-Pack-Version-2/CD1/linux
lrwxrwxrwx media.1 -> SUSE-SLES-Version-9/CD1/media.1
drwxr-xr-x SUSE-CORE-Version-9
drwxr-xr-x SUSE-SLES-9-Service-Pack-Version-2
drwxr-xr-x SUSE-SLES-Version-9
drwxr-xr-x yast
2) Remove CD4 and CD5 of SUSE-CORE-Version-9 and remove also CD3 from
service pack 2, because they only contain source RPMs.
rm -rf SUSE-CORE-Version-9/CD4
rm -rf SUSE-CORE-Version-9/CD5
rm -rf SUSE-SLES-9-Service-Pack-Version-2/CD3
3) Remove the boot link and copy boot image
rm boot
cp -va SUSE-SLES-Version-9/CD1/boot .
4) Copy linux and initrd from the Service Pack CD1 because the SLES9
ramdisk and kernel has problems with Dell Poweredge 2850 SCSI
cp SUSE-SLES-9-Service-Pack-Version-2/boot/loader/linux boot/loader
cp SUSE-SLES-9-Service-Pack-Version-2/boot/loader/initrd boot/loader
5) If using Autoyast, create a postinstall script to add the correct
installation source. This is by default wrong in this setup:
rm -rf /var/adm/YaST/InstSrcManager/IS_CACHE_0x*
installation_sources -e -a cd:///SUSE-SLES-9-Service-Pack-Version-2/CD1/
installation_sources -e -a cd:///SUSE-SLES-Version-9/CD1/
installation_sources -e -a cd:///SUSE-CORE-Version-9/CD1/
6) Create ISO file
mkisofs -r -J -l -L \
-V SLES9_SP2 -P "Novell/SUSE"\
-iso-level 4 \
-b boot/loader/isolinux.bin \
-c boot/loader/boot.cat -no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-graft-points \
-o ../sles9sp2-dvd.iso \
.
7) Burn DVD
growisofs -Z /dev/cdrecorder=../sles9sp2-dvd.iso
Regards,
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Wed Nov 16 2005 - 10:40:06 CET