Here's the problem:
I am trying to frugal-install Puppy 3.00 from-and-to my laptop's harddrive (that doing initial configuration from within windows XP, then reboot into puppy). But the installation froze at the Xorg probing stage.
My laptop is a Toshiba Dynabook SS2000 DS80P/2 with the following spec:
P-3 800 MHz, 256MB, 20GB, with Trydent Video Accelerator CyberBlade XP Ai1 emplying up to 16MB shared memory, with Windows XP Professional XP2 installed.
--------------------------------
Using the following technique, I managed to get the frugal installation going without using a CD/floppy drive:
1. Extract puppy-3.00-seamonkey.iso, and copy vmlinuz, initrd.gz,
pup_xxx.sfs and zdrv_xxx.sfs, then put in c:\puppy300
Note: When I did this from Windows, the extracted filename on the CD
becomes upper-case characters (e.g. PUP_XXX.SFS), so after copying them to the hard drive partition I renamed them to lower-case letters.
2. Download Grub For Dos from
http://sarovar.org/download.php/672/gru ... e22.tar.gz or Get the newest version from
http://sarovar.org/projects/grub4dos/
3. Extract grldr from grub_for_dos-0.4.1pre22.tar.gz to c:\.
The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn't like *.gz files, try 7-Zip from www.7-zip.org.)
4. Append c:\grldr="PuppyLinux 3.00" to c:\boot.ini and
change "timeout=0" to "timeout=10" (this will give you a 10 second
boot-delay to choose wether to boot default windows installation or
to boot Puppy).
To view and edit the Boot.ini file on WindowsXP:
1. Right-click on My Computer, and then click Properties.
2. On the Advanced tab, click Settings under Startup and
Recovery.
3. Under System Startup, click Edit.
5. Create a new text file called menu.lst and save it to c:\
6. Open menu.lst in a text editor and paste the following text in
the file:
title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel (hd0,0)/puppy300/vmlinuz root=/dev/ram0 pmedia=idehd
pdev1=hda1 psubdir=puppy300
initrd (hd0,0)/puppy300/initrd.gz
7. Save menu.lst
8. Reboot, and choose "PuppyLinux 3.00" at the boot menu.
9. Things loaded fine but froze at Xorg display hardware probing stage.
----------------------------------
To fix this, I used hints from:
- "Neomagic problem with 2.13 solved" @
http://www.murga-linux.com/puppy/viewtopic.php?t=14140
- "Toshiba Portege 4010 - xorg - 2.17" @
http://www.murga-linux.com/puppy/viewtopic.php?t=20123
I will summarize the steps below:
1. Just before the boot process starts the xorgwizard you will have to break the sequence by typing "ctrl c" this will get you to the prompt, (might take a few tries) then you can type
mp /usr/X11R7/bin/xwin
This will open up xwin inan editor(mp), then scroll down to line 167 and comment out the lines with a # (as shown in the code below)
When done do a ctrl s to save the changes then ctrl q to exit mp.
(on earlier puppy versions xwin had to be commented out from line
260, in Puppy v2.17 this has moved up to line 133. In Puppy v3.00 this has moved up to line 167)
Code: Select all
#Puppy Xorg Video Wizard...
#if [ -f /usr/X11R7/bin/Xorg ];then
# if [ -f /etc/X11/xorg.conf ];then
# if [ "`readlink /usr/X11R7/bin/X`" = "Xorg" ];then
# #v2.13 video hardware profile (must be same as in xorgwizard)...
# DDCPROBE="`ddcprobe`"
# PROFILECHIP="`echo "$DDCPROBE" | grep '^oem: ' | head -n 1 | cut
-f 2-4 -d ' ' | tr ' ' '_' | sed -e 's/[^0-9a-zA-Z]/_/g'`"
# PROFILEMONITOR="`echo "$DDCPROBE" | grep --extended-regexp
'^monitorrange: |^monitorid: |^eisa: ' | head -n 1 | cut -f 2 -d ':'
| sed -e 's/ //g' | sed -e 's/[^0-9a-zA-Z]/_/g'`"
# HARDWAREPROFILE="${PROFILECHIP}${PROFILEMONITOR}"
# #find out if current xorg.conf matches this profile...
# CURRENTPROFILE="`cat /etc/X11/xorg.conf | grep
'^#PuppyHardwareProfile' | cut -f 2 -d '=' | cut -f 1 -d ' '`"
# if [ ! "$CURRENTPROFILE" = "$HARDWAREPROFILE" ];then
# #video hardware has changed. either changed monitor or booting
different PC.
# #same current xorg.conf as a profiled filename...
# mv -f /etc/X11/xorg.conf /etc/X11/xorg.conf.${CURRENTPROFILE}
# #if a previous profiled filename for new hardware, use that...
# [ -f /etc/X11/xorg.conf.${HARDWAREPROFILE} ] && cp -af
/etc/X11/xorg.conf.${HARDWAREPROFILE} /etc/X11/xorg.conf
# fi
# fi
# fi
if [ ! -f /etc/X11/xorg.conf ];then
rm -f /etc/.XLOADED 2> /dev/null #not necessary, precaution.
#1st dialog offers to use Xvesa...
/usr/sbin/xorgwizard
HAVEX="`readlink /usr/X11R7/bin/X`"
fi
fi
3. At the prompt:
cd /usr/X11R7/bin
rm -f /usr/X11R7/bin/X
ln -s /usr/X11R7/bin/Xorg /usr/X11R7/bin/X
4. Then run xwin by typing at the prompt:
xwin jwm
------------------------------
But after successfully identifying my mouse and my keyboard layout (which is a japanese jp106 keyboard) it's stuck again saying that X is exiting, and I need to retype xwin [fvwm95|jwm] to restart X.
I tried all possible-matching combinations of Xorgsetup parameters for my laptop, but none worked out. I still got the same message.
Any idea how to fix this?
Many thanks in advance