Standard install q's


Forum: HD Install
Topic: Standard install q's
started by: phstpok

Posted by phstpok on July 13 2005,12:37
Hi. Been going through the threads an gaining much info, but still stuck on a couple of things.
Everything done in a root xterm.

p200, 192mb, 2.1hd

Using cfdisk, I create partitions

hda1 bootable 1000  ext2
hda2                400  Linux swap
hda3                700  Linux

write
quit

hda3 would be for downloads/storage etc. Might even add a 4.3gb drive as well.

mkfs -t ext2 /dev/hda3
mkswap /dev/hda2
swapon

everything seems fine. Do a standard install

Reboot

How do I get /dev/hda3 and the swapfile to mount automatically?

When I download say thunderbird.dsl, where do I put it or how do I install it, so it is usable immediately after booting.


Do I need to upgrade to gtk2?

Or would it just be easier to make hda1 1700mb and swap 400mb, forget about a third partition.

At the moment I have hda1 200mb, swap 400mb and hda3 everything left, but I still have to mount hda3 and hda2 won't mount at all,
Of course hda1 is too small, 98% used.
mount /dev/hda2

mount point none does not exist.

1 final q.

I have to reset network card each time I boot as ip for dns stuffs up like should be 203.96.156.4 but on reboot adds a space after the 4

TIA
phstpok

Posted by b1ackmai1er on July 13 2005,19:32
i dont think you are supposed to mount the swap partition and format it with an ext2 filesystem.

also when using swapon i think you need to specify the partition.

so you should be using swapon /dev/hda2

after that everything is automatically detected i think

for more info checkout the manual: section 2b
< http://www.damnsmalllinux.org/talk/node/64 >

regards b1m1

Posted by b1ackmai1er on July 13 2005,19:37
>At the moment I have hda1 200mb, swap 400mb and hda3 >everything left, but I still have to mount hda3 and hda2 won't >mount at all,
>Of course hda1 is too small, 98% used.
>mount /dev/hda2

if hda2 had a filesystem on it you would use mount /mnt/hda2

but as above, i it is swap i dont think you put a filesystem on it or mount it like normal filesystems/partitions.

regards b1m1

Posted by phstpok on July 13 2005,22:31
While booting it shows my swap file being enabled, so no problem there. Still can't figure how to get /dev/hda3 to mount automatically though.

No doubt it's staring me in the face. Just need to keep on playing around.


Going to have to give dsl a miss for today though. Unfortunately I've got a windows box I have to get back up. ???

Posted by cbagger01 on July 14 2005,02:43
Try adding

sudo -u dsl mount /mnt/hda3

to your /opt/bootlocal.sh text file.

Posted by phstpok on July 14 2005,02:56
Cheers for that, but I went the easy way. Started fresh with 17gb hda1 ext2 and 400mb hda2 swap then did enhanced install. Running sweet.

Thanks for the help.

Posted by skaos on July 14 2005,12:49
Usually you need a line in /etc/fstab, something like:
/dev/hda3    /mountpoint    ext3    defaults   1 2
where /mountpoint is a directory which has to exist. This should mount the partition at boot.

If you want to mount it manually (you have to do this as root):
mount -t ext3 /dev/hda3 /mountpoint

Posted by phstpok on July 14 2005,14:15
Thanks for all the help folks.(1)  
System = p200mmx, 2.1gb, 192mb (2), onboard video ? (old HP Vectra)

Finally went with deleting and starting from scratch. Hda1 1.7gb ext2 boot,
hda2 4gb linux swap

mkfs, mkswap swapon etc.

Then did a full install off the net. No need to worry about mounting partitions etc., though I am copying all this as I intend to add a 4.3gb drive to the existing 2.1gb.  (for graphics, gotta set aside some time to learn Gimp)

Still a couple of queries

a/  After installing apps, how do I create icons for the desktop, or do I have to keep firing them up via myDSL?

b/  Do I need to upgrade to GTK2, or will I be prompted when the need arises? I don't intend to do any coding, mainly used for web, office and html (nvu looks real good. Bye Bye Dreamweaver)

c/  Is there any way of fixing the nic configuration where when I reboot an extra space is added at the end of my dns entry?  eg. 192.168.0.1 becomes 192.168.0.1_ with the underscore representing a space which has to be deleted.

(1)  Believe it or not, but I was a unix sysadmin many years ago looking after some old DEC boxes running Ultrix. Too many years of exposure to MS since then have caused symlinks to orphan themselves in my brain, occasionally working but more often than not pointing to the wrong files.

(2)  A strange phenomenom (to me  anyway). Have 3 simm banks. 32mb in each. Replaced 1 with a 128mb chip. Should have 192 mb total. Posts as 128mb total. Odd. Put 128 in another box. Posts as 128. Put back in this box on its' own. Posts as 64mb. It may be Legend brand, but I thought it shouldn't post at all if the slot is designed to take a maximum of 64mb.

Anyway, the box is running very well, far superior performance in many ways to
my 2gb celery, 1gb ram, etc etc xp box. If it wasn't for a couple of MS only apps I would be throwing Mandriva or similar on it.

Thanks again everyone.  :D  :D

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.