DSL 0.7.3 HD Install issues solved !!!!


Forum: HD Install
Topic: DSL 0.7.3 HD Install issues solved !!!!
started by: ergun

Posted by ergun on Aug. 24 2004,06:31
Hello everyone .

Last night I finally installed my DSL 0.7.3 on the HDD.

First of all , on the normal install with dsl-hdinstall script from CD it`s not working with another EXT 2 file system set as primary and 83 type linux partition.

Thank`s to UnDude for his hint .

I`ve modified the DSL-HDINSTAL script located on /KNOPIX/usr/sbin/dsl-hdinstall   or /usr/sbin/dsl-hdinstall commenting following lines:

1) before commenting


DISK="$(echo $FSCHOICE | tr -d [0-9])"
FDISK="$(fdisk -l /dev/$DISK|grep $FSCHOICE|awk '{print $(NF-1)}'|head -n1)"
if [ "$FDISK" != "83" ]; then
 echo "${RED}Sorry system has not detected a linux partition.${NORMAL}"
 echo "You may need to just reboot, so the system can re-read"
 echo "the partition table, or create your partition(s) with ${YELLOW}cfisk"
 echo "${NORMAL}and then reboot."
 echo "Script is terminating..."
 exit 1
fi



2 ) after commenting



DISK="$(echo $FSCHOICE | tr -d [0-9])"
# FDISK="$(fdisk -l /dev/$DISK|grep $FSCHOICE|awk '{print $(NF-1)}'|head -n1)"
# if [ "$FDISK" != "83" ]; then
 # echo "${RED}Sorry system has not detected a linux partition.${NORMAL}"
 # echo "You may need to just reboot, so the system can re-read"
 # echo "the partition table, or create your partition(s) with ${YELLOW}cfisk"
 # echo "${NORMAL}and then reboot."
 # echo "Script is terminating..."
 # exit 1
# fi


The  modified script must be , first of all , copy on the root partitin  and run it from there in shell as root:

1) open an console and type:          sudo su
2) browse to the  location where your dsl-hdinstall script is located .  ex :     cd /usr/sbin

then copy the script to he root folder or to you home directory doing like that:

cp /usr/sbin/dsl-hdinstall   /

or

cp /usr/sbin/dsl-hdinstall  /home/dsl/

then type

vi dsl-hdinstall

press SHIFT + I     ( without + sign , just push both buttons Shift and I      , I from ICARUS ) to go on the INSERT MODE

here , browse to the lines who interesting you and ad on the front of lines the  #  sign just like in examples.

press ESC to go on COMMAND MODE

type                         :w
fallowed by ENTER and quit from vi   with   :q  command

Return to the location where you saved the modified dsl-hdinstall  and run it from here.

Follow the stept asked by the script .

Type on target partition request the destination EXT 2 partition for your DSL Install  (on my install it is hda5 )


E Voila.



Yuo hhave DSL Installed on the hard drive.



With al do my respect ,

PS : Sorry for my bad english.

Posted by roberts on Aug. 24 2004,23:34
With that hack, you could format and install to a non linux( type 83) partiton and then have a partition type and content mismatch with resulting boot problems.

Yeah, it works if you know what you are doing. Would be much better to learn why the script is failing on your partitcular system.

The beta testors have not been able to re-produce this issue.

Posted by uncleed on Aug. 25 2004,06:59
I had no trouble installing to HD DSL071. In fact, I timed myself not only with installation but setting up dial-up modem and the printer (7 mins).
I was anxious to download DSLs 072 & 073 and did but only to have the same trouble (with both) as ergun did.
Curious thing. In DSLs 072 & 073 Xshell (as root) both fdisk and cfdisk to my HD (/dev/hda) only showed the first 4 partitions (I have 10).
In DSL071 fdisk and cfdisk showed all 10 !
I havent tried ergun's resolution yet but when I do Ill let everyone know. I wonder if there is a error in the script.
ec.

Posted by mpie on Aug. 25 2004,08:54
i wouldn't have thought an error with the script maybe the version of cf/fdisk was changed...... but it is only systems with large partition numbers  that seem to have issues.....


is an intresting glitch tho....

Posted by uncleed on Aug. 26 2004,07:12
:cool:
I can confirm that DSLv0.7.3 HD install has a problem with multiple big partitions.
I managed to easily install it to one of my Syquest 1 GB cartridges. Everything works.
This means you may have to be sneaky to install.
I suggest partitioning into only 4 partitions. After installation go ahead resize using Linux utility qtparted. I dont know it that will work but I do know that ergun's method (above) will produce thousands of tar errors (directory not found).
Question is why DSLv0.7.1 doesnt have this problem and 0.7.2 and 0.7.3 do ?
Perhaps something is missing.
I vaguely remember this happening before on another Linux distro but it didnt happen to me. I am off to do research on this now. I will be also looking at dsl boot prompts (Knoppix calls them "cheatcodes" ) for a resolution.
ec.

Posted by cbagger01 on Aug. 26 2004,12:36
Does this problem still exist when you try an hd-install from a DSL livecd that has the gnu-utils.dsl extension activated?
Posted by ke4nt1 on Aug. 26 2004,13:01
... thinking busybox?
There was a busybox upgrade in 0.7.2...

73
ke4nt

Posted by cbagger01 on Aug. 26 2004,21:20
yes
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.