hda1 becomes read only


Forum: HD Install
Topic: hda1 becomes read only
started by: oscar

Posted by oscar on May 29 2006,08:36
Hi there,

After playing around with the iso CD boot, I just decided to try an install on the hard disk because I found that system often hangs a while and spin the CD before continue its work.  But my hard disk has only one partition for my old win98.  As I know, I can't actually install DSL on the hard disk, am I correct ?  Pls correct me if not.

So I downloaded the boot image and created the boot floppy and copied the KNOPPIX folder to c:\ drive of win98 to let the notebook boot from floppy and access the KNOPPIX in c:\.  Everything seems fine during the boot.  But it's found that hda1 is mounted on /cdrom and is read only.

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 3067       611      2456  20% /
/dev/hda1             14718872   4489324  10229548  31% /cdrom
/dev/cloop              120078    120078         0 100% /KNOPPIX
/ramdisk                 42060      1332     40728   3% /ramdisk
/dev/fd0                  1424        47      1377   3% /mnt/auto/floppy

This will be different if I do a CD boot and mount hda1 where I can read-write hda1.
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 2971       685      2286  23% /
/dev/scd0                50332     50332         0 100% /cdrom
/dev/cloop              120078    120078         0 100% /KNOPPIX
/ramdisk                 42496      3536     38960   8% /ramdisk
/dev/hda1             14718872   4489324  10229548  31% /mnt/hda1
/dev/fd0                  1424        47      1377   3% /mnt/auto/floppy

So, are there any tricks with the floppy boot ?

Thanks.

Posted by piccolo on May 29 2006,11:27
The partition where is copied KNOPPIX folder become /cdrom folder.
The only solution that I do know is to have the KNOPPIX folder on another partition than hda1. Unfortunately as you said before, you have hda1 only.
Check the hda1 size respect to hard disk size to know if the hard disk have at least space unpartitioned to create a new partition.

I'm not sure, but perhaps is possible resizing without loss data an existing partition getting so free space to create a new partition.

Posted by oscar on May 29 2006,14:30
Thanks for your info.

But is it possible to resize an existing partition ?  Um... if I have another partition, I can actually install DSL to that partition and choose to boot either win98 or DSL without the liveCD or floppy, right?

Posted by piccolo on May 29 2006,15:11
Quote
But is it possible to resize an existing partition ?

Installing Debian it is possible.
< 3.5. Pre-Partitioning for Multi-Boot Systems >
Read under title: 3.5.1.1. Lossless Repartitioning When Starting From DOS, Win-32 or OS/2
Quote
I can actually install DSL to that partition and choose to boot either win98 or DSL without the liveCD or floppy, right?

Yes.

Posted by oscar on May 30 2006,09:48
Quote
Installing Debian it is possible.


Hi, do you mean download Debian to install and drop DSL ?  I have only 64M and this is a PII 330 notebook.  Is this enough to run Debian Linux.  By the way, I have seen somewhere that I can install DSL as Debian (e.g. Shown at the top of www.damnsmalllinux.org page).  Do you know what does this mean ?  Thanks.

Posted by ZoOp on May 30 2006,10:24
Hi,

in order to resize your partition, just use qparted.dsl out of the appropriate repository in your mydsl browser.

Another possibility: at boot, type dsl init 2 and then use cfdisk in order to resize and reformate your parititons. FYI - DSL frugal installed only requiers 50M.

Good Luck!
yours
z

Posted by oscar on May 30 2006,14:40
Quote (ZoOp @ May 30 2006,06:24)

Quote
in order to resize your partition, just use qparted.dsl out of the appropriate repository in your mydsl browser.


Thanks for your info, but I cannot find qparted.dsl

Quote
Another possibility: at boot, type dsl init 2 and then use cfdisk in order to resize and reformate your parititons. FYI - DSL frugal installed only requiers 50M.

I think I can't.  Because there's already one partition for win98 which occupies the whole disk and I don't want to re-install it from scratch.

Posted by piccolo on May 30 2006,16:54
Accordind to < http://gparted.sourceforge.net, > gparted run from a LiveCD.
Here gparted documentation:
< HOW TO RESIZE PARTITION >
Other similar tool:
< sysresccd >

After you get free space for the new partition, will be able to do the hard disk DSL installation. However note there are two methods: Full Installation and Frugal Installation. I recommend you the Frugal Installation.
< Frugal Howto >

Posted by doobit on May 30 2006,17:40
The .dsl file is parted.dsl
< ftp://ibiblio.org/pub....sl.info >

Posted by oscar on May 31 2006,01:40
Guys, thanks so much for your info!  I will go for a try.
Posted by oscar on June 01 2006,14:21
Problems! Problems!

First, the DSL error messages I write here are according to my memory because I just shutdown DSL and returned to win98 to use IE instead of dillo which crashed so frequently

1. I have retrieved 'parted' thru myDSL/App and run it but got the message 'Killed' after a while.  Here are the command I used:
(parted) print
(parted) resize 1 0 13500

Killed <-- returned by system

I found a newer 1.7.0 parted but the version retrieved from myDSL is 1.6.? (I can't recall).  But how can I install the latest 1.7.0 to have a try ?  Do I have to build something like abc.dsl to load into myDSL or there is some other way.  How?

2. I tried to install gcc1.dsl but it hangs after the download.  I then use mydsl-load gcc1.dsl but the system gives something like "tar:  Cannot allocate memory".

3. dillo always crash after being used for a while.  I tried to start it from terminal as advised from others to see what errors are logged.  But it's found that when it crashed, only the word "killed" is printed on screen.

I thought 64M + PII is o.k for DSL but I think I may be wrong after these few days of test.  Any advises ?  Really frustrated.

:(

Posted by oscar on June 04 2006,08:00
Solved!

I finally got DSL 2.4 installed on another old PC (P133+64M+2G HD).  With hda1 as swap and hda2 for base.  I have also download gcc1.dsl. No problems encountered and up to now.  System response is good.

So my suggestion to others is that if you don't have a free partition to install (frugal, debian, etc) DSL, fix this first before you continue.  Otherwise you may encouter other problems with just a liveCD or using poorman's installation.  I think when running in these modes, the memory is a bit tight for complex jobs and you can't have swap files in this mode.

Thanks.

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