Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL 0.7.3 HD Install issues solved !!!!< Next Oldest | Next Newest >
ergun Offline





Group: Members
Posts: 9
Joined: Aug. 2004
Posted: Aug. 24 2004,06:31 QUOTE

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.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 24 2004,23:34 QUOTE

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.
Back to top
Profile PM WEB 
uncleed Offline





Group: Members
Posts: 5
Joined: Aug. 2004
Posted: Aug. 25 2004,06:59 QUOTE

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.
Back to top
Profile PM 
mpie Offline





Group: Members
Posts: 213
Joined: June 2004
Posted: Aug. 25 2004,08:54 QUOTE

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....
Back to top
Profile PM 
uncleed Offline





Group: Members
Posts: 5
Joined: Aug. 2004
Posted: Aug. 26 2004,07:12 QUOTE

: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.
Back to top
Profile PM 
7 replies since Aug. 24 2004,06:31 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: DSL 0.7.3 HD Install issues solved !!!!

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code