open up /etc/fstab in your editor of choice as root. Then, remove the # from in front of any entries you want mounted.
As root, do mount -a (or just reboot).
when i boot from CD my hard drive is usually auto-mounted. but now that i've booted from the HD, all I have on my desktop is the floppy disk. I was under the impression that I'd be able to use my hard drive to save things on, and my CD-ROM to read from. I'm booted from the HD, i just don't see it on the screen. How do I mount the CD-ROM and the HD?
open up /etc/fstab in your editor of choice as root. Then, remove the # from in front of any entries you want mounted.
As root, do mount -a (or just reboot).
alright, I definetly screwed it up by doing that. I mounted the boot drive as read-only, so now i'm farked and have to reinstall. why doesn't it auto mount like it does off the cd?![]()
You don't have to re-install the worst you have to do is boot from the CD and make changes to the /etc/fstab on the HD post the file so we can see it and suggest changes.Originally Posted by pummer
here's the code: please help!
Code:# /etc/fstab: filesystem table. # # filesystem mountpoint type options dump pass #/dev/hda1 / ext3 defaults,errors=remount-ro 0 1 #/dev/hda2 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 # partitions found by Knoppix /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,uid=knoppix,gid=knoppix 0 0 /dev/hda2 /mnt/hda2 auto noauto,users,exec 0 0
If I am reading this correctly then you have installed knoppix to hda1 and the swap to hda2 if this is the case then:Originally Posted by pummer
1. Boot from CD open a console window (clam shell icon on the taskbar)
2. While in the console window sudo mount /dev/hda1 /mnt/hda1
3. Then still in console window sudo gvim /mnt/hda1/etc/fstab
4. Edit the file removing the # from in front of the lines:
5. Add a # to the front of these lines:Code:#/dev/hda1 / ext3 defaults,errors=remount-ro 0 1 #/dev/hda2 none swap sw 0 0
6. Save the file and reboot and everything should work.Code:/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,uid=knoppix,gid=knoppix 0 0 /dev/hda2 /mnt/hda2 auto noauto,users,exec 0 0
If these are not the correct partitions then post the output of sudo fdsik -l /dev/hda from a CD boot so I can see the partitions on the drive.
the file's read-only... do I have to login as root?
EDIT: OK i figured it out myself, I edited the file as per your instructions. Now it boots off the HD, but i'm back to my original problem: there's no HD or CD auto-mounted in the hd install.
Try:
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,auto 0 0
# partitions found by Knoppix
/dev/hda1 /mnt/hda1 ntfs auto,users,exec,ro,uid=knoppix,gid=knoppix 0 0
Don't try changing the ro! And make a back up first.
Note that sometimes running automount isn't a good idea!
Reading your first post you want the icons for the HD and CD-ROM on the desktop now right? Just right click on the desktop and select create new and then choose hard drive device and select the proper device (/dev/hda1) in the device tab make sure the read only permission checkbox is unselected in the permissions tab and click on OK and you will have the icon for the HD then just do the same for the CD except the permission tab part. The CD will be auto-mounted when ever you put a CD-ROM in it and click on the icon, your HD is already mounted when you boot you will be able to access it read-write from the icon.Originally Posted by pummer
thanks Stephen, it worked like a charm. thanks for helping a nix newb

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00
Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile
$18.49
WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99
2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$119.99
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00
CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00
Broadcom MegaRAID 9461-16i SAS/SATA/NVME Tri-Mode PCIe RAID Controller
$295.00