HotDog
Group: Members
Posts: 2
Joined: Jan. 2004 |
|
Posted: Jan. 05 2004,22:30 |
|
Cappy:
So.. with that foundation look at a file called /etc/fstab
you will find a line looking something like this:
/dev/hda1 /mnt/hda1 auto noauto,user,defaults 0 0
HotDog:
There is no such line.
none /proc proc defaults 0 0 none /dev/pts devpts mode=0622 0 0 /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0 /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0 /dev/cdrom1 /mnt/auto/cdrom1 auto user,noauto,exec,ro 0 0 /dev/sda1 /mnt/usbdrive auto user,noauto,exec,umask=000 0 0 /dev/hdb1 /mnt/hdb1 auto noauto,user,exec 0 0
Bear in mind that this file is burned into the distribution CD and cannot be changed. (I'm running a live-CD DSL.)
Cappy:
If your /dev/hda1 and /dev/hdb1 are FAT32, DSL should have created a /mnt/hda1 and /mnt/hdb1 directory. This is where you will find your windows files.
HotDog:
There is no /mnt/hda1 directory.
none /proc proc defaults 0 0 none /dev/pts devpts mode=0622 0 0 /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0 /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0 /dev/cdrom1 /mnt/auto/cdrom1 auto user,noauto,exec,ro 0 0 /dev/sda1 /mnt/usbdrive auto user,noauto,exec,umask=000 0 0 /dev/hdb1 /mnt/hdb1 auto noauto,user,exec 0 0
Bear in mind that this file is burned into the distribution CD and cannot be changed. (I'm running a live-CD DSL.)
During boot up the system reports both drives, a Western Digital and a Maxtor.
Cappy:
use the mount.app to mount your hda1 and hdb1 partitions then navigate to /mnt/hda1 or /mnt/hdb1 to read and write to those partitions.
HotDog:
I was doing this with /mnt/hdb1 before I posted my questions here. As I said, I found /mnt/hdb1 but not /mnt/hda1.
My first question remains unanswered. I can't get an app, say Nedit, to write directly to D: -- I have to save to ramdisk, then use mount.app to copy the file from ramdisk to the HD. This works but it's awkward. Can Nedit or Ted save directly to my HD while DSL is running as a live CD?
How can I save directly to /hdb1 from an editor? The only file app where it appears is mount.app.
There are problems with running DSL as a live-CD. For example, the wvdial.cnf cannot even be read from the CD, must less changed. I did it by work- arounds, saving it to the floppy, but only because I'd had twenty years of experience with DOS. Still the modem isn't working since the only wvdial.cnf file read is the one burned into the CD.
It just occurred to me that I could be wrong, that those files while burned into the CD may have been copied into RAM where they could be changed. If so, where are they? And how do I get permission to read and write? Root? I must boot up as "Knoppix restore" to use my own configuration.
Thanks.
HotDog
|