dsl on my new laptop


Forum: Laptops
Topic: dsl on my new laptop
started by: struppi

Posted by struppi on Dec. 25 2004,21:21
hello folks,

next week i will get my new laptop from ebay. it is a siemens mobile 710, withh 233 mhz, 128 mb, a cd-drive and a 4 gb hd.

perfect for dsl and surfing from the university.

i hope my question doesn't sound too stupid:

what do i have to do to setup dsl on this box? what types of partitions, how many? and so on...

i hope you can help me with this....

thank you!

Posted by linster on Dec. 26 2004,03:02
all you have to to is boot up knoppix (Ice WM) then run qt parted and then boot up dsl and check the getting strarted guide and then a install script will put it on for ya.

- Hope that helps.

Posted by cbagger01 on Dec. 26 2004,04:17
Everyone has their own preferences, but here is what I would do:

1) Boot up the DSL livecd.  If your computer does not support booting from CDROM drive, then download the boot floppy image from the DSL website and get the RAWRITE32.exe program and create a boot floppy disk.  Then use the boot floppy + liveCD to start up DSL.

2) Open up an xterminal window and type:

sudo su
cfdisk /dev/hda


Assuming that you are ready to blow away all of your existing data storage (you might want to back up any Siemens special laptop drivers and other important stuff in case you want to re-install the original OS), create 3 new partitions:

hda1     Linux  Type  83   Size 3GB
hda2     Linux Swap Type 82 Size 256MB
leaving 768MB of unpartitioned space for future use

Your DSL installation will go to partition hda1
Your DSL swap partition will be hda2

Type type:

mkswap /dev/hda2
swapon /dev/hda2


Then follow the hd install script as described here in the forums. FAQ is here: < http://www.damnsmalllinux.org/dsl-hd-install.html >

So you type:

dsl-hdinstall


and then:

mkliloboot


and follow the instructions EXACTLY.  In other words, if it tells you to type "hda1" then you type in "hda1".  But if it tells you to type in "/dev/hda1" then you type in "/dev/hda1"

Good Luck.

Posted by Bidi on Dec. 26 2004,04:31
Quote (cbagger01 @ Dec. 25 2004,23:17)
hda1     Linux  Type  83   Size 3GB
hda2     Linux Swap Type 82 Size 256MB
leaving 768MB of unpartitioned space for future use

Your DSL installation will go to partition hda1
Your DSL swap partition will be hda2

Type type:

mkswap /dev/hda2
swapon /dev/hda2

I'd skip the creation of a swap partition.  His Laptop has 128MB of RAM, that's more than enough to run DSL and then some.  I have 256MB on my computer and DSL has never used over 50MB.  That's just my take on it, but if you think you're going to be using a lot of heavy programs, like graphical games and such, a swap file will probably be useful.  But if you're only going to be doing school stuff on it, like word processing, and surfing the web you'll be just fine without it.  If anything you can just add another partition from the Free Space, which I'd also recommend having.  I have DSL installed on a 300MB and a 15MB partition of a 1.2GB HD, the other 900MB are just Free Space right now.
Posted by cbagger01 on Dec. 26 2004,07:02
"Everyone has their own preferences, but here is what I would do"

While swapfile may not strictly be necessary, it is better if your computer does not crash whenever your memory usage reaches 128.00001MB

It is possible to use all 128MB with DSL, therefore a swapfile is a good precaution, especially for disk and memory intensive programs and also users who multi-task.

The usual rule-of-thumb is 2x - 2.5x RAM (within reason. That amount is probably not needed for a 1.0GB RAM system)

Since you have a fairly large hard drive for DSL (4.0GB), then you won't miss the 256MB of swap space very much.

I also like leaving some unused space because it allows for the  testing of other operating systems, and it also allows for you to create a temporary storage area for backups.  For example, you may be able to do a hard disk image backup of hda1 and then archive it to hda3 before burning to CD-RW or storing it on a network file server.

Posted by struppi on Dec. 28 2004,13:54
thank you very much...

but there is another problem:

dsl boots from cd and everything looks just fine. but when x tries to start, i get the "fatal io error 104" and the message "cloop error 103 uncompressing block".

i think it has something to do with the laptops graphic... what can i do?

Posted by cbagger01 on Dec. 28 2004,19:03
fatal error 104 usually means that you are trying to use the Xfbdev xwindows server, but you did not boot up with a valid framebuffer device.  Usually this is seen when you get the "You passed an undefined mode number" message at boot time.

You can either type "xsetup.sh" and try the Xvesa xwindows server, or you can press the F3 key at boot time and try some of the other framebuffer modes like "vga=771"

As for the cloop error message, it probably means that you have a bad CD-R disk or it means that your *.iso file was corrupted upon download.

You can check the integrity of your *.iso by using the md5sum program and comparing the checksum to the one that is contained inside the *.md5.txt file

Good Luck.

Posted by struppi on Dec. 28 2004,22:47
the cdr is ok, it works in every other computer i tested.

but how can i start X ? i tried every fb-mode, but it doesn't work.

i found this site < http://www.linux-on-laptops.com/siemens.html > .

the author describes how he made the display working and he uses debian, so there must be a way to solve this silly error.

Posted by struppi on Dec. 29 2004,00:48
ok it's working better with xvesa, but i still get this message:

Quote
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remainig


with some configs i got a white screen.

i searched the forums, but the most 104-error-threads are about fbserv and not xvesa.

edit: this are the modifications the guy who wrote the text i linked above made:

Quote
4.6 Graphic chip

Chips and Technologies F85554 (ct65554) with 4 MByte RAM

This chip displays a resolution from "1024x768" with the Xserver "chips" from XFree86 4.1. Some hints form my 'XF86Config':

Section "Device"
       Identifier      "Generic Video Card"
       Driver          "chips"
       Chipset         "ct65554"
       BusID           "PCI:0:6:0"
       VideoRAM        4096
       Option          "LcdCenter"     "true"
       Option          "FixPanelSize"  "true"
       Option          "NoStretch"     "false"
       Option          "HwCursor"      "true"
TextClockFreq25.175
End Section

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       25.0 - 64.0
        VertRefresh     40.0 - 70.0
        Option          "DPMS"
        Mode            "640x480"
                DotClock        28.3
                HTimings        640 680 720 864
                VTimings        480 488 491 521
        EndMode
        Mode            "800x600"
                DotClock        28.3
                HTimings        800 816 856 920
                VTimings        600 603 605 618
        EndMode
        Mode            "1024x768"  
                DotClock        53.197
                HTimings        1024 1032 1176 1344
                VTimings         768  771  777  806
        EndMode
EndSection

It even performs well with the kernel's VESA driver and displays a resolution of 1024x768 with 65536 colors on text consoles. To make it work, the following steps are required:
The kernel needs some configuration options:

CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_CFB8=y                                                                                                  
CONFIG_FBCON_CFB16=y                                                                                                
CONFIG_FBCON_CFB24=y                                                                                                
CONFIG_FBCON_CFB32=y
CONFIG_FONT_8x8=y                                                                                                    
CONFIG_FONT_8x16=y
The new compiled kernel needs to be booted with the append switch "vga=0x317".

Posted by struppi on Dec. 29 2004,12:46
perhaps it has something to do with this "BUS-ID". is there a way to change it?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.