ProLiant Servers (ML,DL,SL)
1748089 Members
4777 Online
108758 Solutions
New Discussion юеВ

Re: HP SmartStart 8.50 x64 boots into Command Line?

 
rjt_1
Frequent Advisor

Re: HP SmartStart 8.50 x64 boots into Command Line?

_Attached_ is very rough draft shell script to make a USB boot stick that boots directly into the GUI without having to type anything at the HPSS prompt.

If someone knows the best way to modify the ISO and rebuilding the ISO, please post.

Read the attachment before executing because it is very rough draft and could easily simply retype the commands.
rjt_1
Frequent Advisor

Re: HP SmartStart 8.50 x64 boots into Command Line?

#!/bin/bash
#ModifyForDepth16HowTo.sh
echo The following will fix a USB stick installed with HP SmartStart
echo 8.5 x64 so that it will boot with 16bit color depth.
echo Otherwise, the boot will stop at a command prompt.
echo Builds on Peter Capriccio s quick fix sed and for loop command
# sed -i.original '/Depth/s/24/16/g' /etc/X11/xorg.default-us
# for n in 52 54 56 58 60 ; do /etc/init.d/boot.d/S${n}* start ; done

echo ROUGH DRAFT OF COMMANDS TO CHANGE 64bit version of HP SmartStart 8.50
echo SO THAT IT WORKS ON HPDL380g4.
echo http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1438546

echo Create a bootable USB memory stick running HPSS 8.5 x64 by
echo first booting machine with HP SmartStart 8.5 x64 and run
echo Peter Capriccio s two line fix once. The sed and for loop above.
echo It would be best to open this script as a text file to get
echo the exact command.
echo Now, you should be in the GUI, so click on to run the command
echo to create a bootable USB memory stick. This will take a while.
echo Restart and poweroff when done to make sure files are flushed.
echo Move USB stick to a working Linux machine (i used Fedora 13 with
echo all updates).

su -l root #NOT SURE WHAT COMMANDS REALLY NEED ROOT.
mkdir -p $HOME/Desktop/HPSSfix/
cd $HOME/Desktop/HPSSfix/
cp /media/sdX1/SomeThing/HPSS850_64/system/rootfs.tar.lzma ./
tar --verbose --verbose --list --lzma -f rootfs.tar.lzma etc/X11/xorg.*

echo Decompress because tar --lzma compression uses differenet dict= size.
tar --verbose --verbose --lzma --extract -f rootfs.tar.lzma rootfs.tar
tar --verbose --verbose --extract -f rootfs.tar etc/X11/xorg.*

echo CHANGE DEPTH LEVELS FROM 24 to 16, KEEPING BACKUP.
sed -i.24bitDepth '/Depth/s/24/16/g' etc/X11/xorg.default-us

echo RETAR
tar --verbose --verbose --update -f rootfs.original.tar etc/X11/xorg*

echo RECOMPRESS SO dict=32MB
lzma --verbose --verbose --compress --format=lzma --lzma1=dict=32MB rootfs.tar

echo VERIFY IT WORKED
tar --verbose --verbose --extract --lzma -f rootfs.tar.lzma etc/X11/xorg.default-us
grep Depth etc/X11/xorg.default-us
DefaultDepth 16
Depth 16

echo OVERWRITE ORIGINAL rootfs.tar.lzma
cp rootfs.tar.lzma /media/SomeThing/HPSS850_64/system/
Aaron Plank
New Member

Re: HP SmartStart 8.50 x64 boots into Command Line?

For reference, here's the above script modified for HP SmartStart 8.50 x86 and Ubuntu 10.10.

#!/bin/bash
#ModifyForDepth16HowTo.sh
echo The following will fix a USB stick installed with HP SmartStart
echo 8.5 x86 so that it will boot with 16bit color depth.
echo Otherwise, the boot will stop at a command prompt.
echo Builds on Peter Capriccio s quick fix sed and for loop command
# sed -i.original '/Depth/s/24/16/g' /etc/X11/xorg.default-us
# for n in 52 54 56 58 60 ; do /etc/init.d/boot.d/S${n}* start ; done

echo ROUGH DRAFT OF COMMANDS TO CHANGE 32bit version of HP SmartStart 8.50
echo SO THAT IT WORKS ON HPDL380g4.
echo http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1438546

echo Create a bootable USB memory stick running HPSS 8.5 x86 by
echo first booting machine with HP SmartStart 8.5 x86 and run
echo Peter Capriccio s two line fix once. The sed and for loop above.
echo It would be best to open this script as a text file to get
echo the exact command.
echo Now, you should be in the GUI, so click on to run the command
echo to create a bootable USB memory stick. This will take a while.
echo Restart and poweroff when done to make sure files are flushed.
echo Move USB stick to a working Linux machine. I used Ubuntu 10.10 with
echo all updates.

#su -l root #NOT SURE WHAT COMMANDS REALLY NEED ROOT.
mkdir -p $HOME/Desktop/HPSSfix/
cd $HOME/Desktop/HPSSfix/
cp /media/FAD7-0CA8/USBstick/system/rootfs.tar.lzma ./
#Didn't bother getting this one working
#tar --verbose --verbose --list --lzma -f rootfs.tar.lzma etc/X11/xorg.*

echo Decompress because tar --lzma compression uses differenet dict= size.
#tar --verbose --verbose --lzma --extract -f rootfs.tar.lzma rootfs.tar
#tar --verbose --verbose --extract -f rootfs.tar etc/X11/xorg.*
lzma -d -f rootfs.tar.lzma
tar -v -v -x -f rootfs.tar etc/X11/xorg.default-us

echo CHANGE DEPTH LEVELS FROM 24 to 16, KEEPING BACKUP.
ls -l
sed -i.24bitDepth '/Depth/s/24/16/g' etc/X11/xorg.default-us

echo RETAR
#tar --verbose --verbose --update -f rootfs.tar etc/X11/xorg*
tar -v -v -u -f rootfs.tar etc/X11/xorg*

echo RECOMPRESS SO dict=32MB
#lzma --verbose --verbose --compress --format=lzma --lzma1=dict=32MB rootfs.tar
lzma -v -v -z -9 rootfs.tar

echo VERIFY IT WORKED
#tar --verbose --verbose --extract --lzma -f rootfs.tar.lzma etc/X11/xorg.default-us
lzma -kd -f rootfs.tar.lzma
tar -v -v -x -f rootfs.tar etc/X11/xorg.default-us
grep Depth etc/X11/xorg.default-us
# DefaultDepth 16
# Depth 16

echo OVERWRITE ORIGINAL rootfs.tar.lzma
cp rootfs.tar.lzma /media/USBstick/HPSS850_32/system/
Chumari Wachaga
New Member

Re: HP SmartStart 8.50 x64 boots into Command Line?

is there a solution to this. I have a DL380 G4 that when i try the command line it returns 'no file /etc/x11/xorg.default-us was found.
Peter Capriccio
Frequent Advisor

Re: HP SmartStart 8.50 x64 boots into Command Line?

What version of SmartStart are you running? You might want to check what files are in "/etc/x11/" because "/etc/x11/xorg.conf" is a symbolic link to "/etc/x11/xorg.default-us", at least in versions 8.50 and 8.60.
Chumari Wachaga
New Member

Re: HP SmartStart 8.50 x64 boots into Command Line?

am running version 8.50 could the reason be that am running it from a cd?
Peter Capriccio
Frequent Advisor

Re: HP SmartStart 8.50 x64 boots into Command Line?

It shouldn't matter if you're booting from the CD.

Be aware, the correct path is "/etc/X11/xorg.default-us" -- note the case of "X11" (unlike what I previously posted in the last reply, where I did a cut and paste from your post -- sorry about that).
Chumari Wachaga
New Member

Re: HP SmartStart 8.50 x64 boots into Command Line?

Thanx man it worked perfectly twas the case on X11 that was the issue.
theruck
Visitor

Re: HP SmartStart 8.50 x64 boots into Command Line?

hi

anybody tried to install windows server 2008 r2 enterprise with this smartstart cd?

 

beside the issue with X i was able to install windows but after the first reboot i get instan reboot cycle. it looks it is always doing on disk.sys

using smartarray 6i with all the bioses updated byt firmware maintenance cd 8.50

krpolaski
New Member

Re: HP SmartStart 8.50 x64 boots into Command Line?

Worked great just remember to put a space between g; and /etc