Results 1 to 10 of 10

Thread: Mounting problems in an HD Install

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    11

    Mounting problems in an HD Install

    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?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    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).

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    11
    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?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by pummer
    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.

  5. #5
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    11
    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

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote 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:

    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:

    Code:
    #/dev/hda1  /  ext3  defaults,errors=remount-ro  0  1
    #/dev/hda2  none  swap  sw  0  0
    5. Add a # to the front of these lines:

    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
    6. Save the file and reboot and everything should work.

    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.

  7. #7
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    11
    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.

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    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!

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by pummer
    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.
    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.

  10. #10
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    11
    thanks Stephen, it worked like a charm. thanks for helping a nix newb

Similar Threads

  1. NFS mounting problems!!!!
    By kuser123 in forum Networking
    Replies: 3
    Last Post: 08-27-2004, 11:49 PM
  2. Ipod Mounting Problems
    By ryanlines in forum Hardware & Booting
    Replies: 0
    Last Post: 04-11-2004, 11:32 PM
  3. Problems when mounting cdrom...
    By pau in forum General Support
    Replies: 8
    Last Post: 11-23-2003, 05:36 PM
  4. mounting problems
    By NASAce in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-25-2003, 09:04 PM
  5. Problems mounting ext2 r/w
    By jamesraykenney in forum General Support
    Replies: 5
    Last Post: 08-21-2003, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001 picture

Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001

$149.99



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00