Results 1 to 7 of 7

Thread: Auto Mount?

  1. #1
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    12

    Auto Mount?

    Ok I have add nofstab in the lilo.conf and changed noauto to auto in my fstab but still my data drive isn't mounted on bootup??

    I found the info once before but not this time...my searches bring up to many hits

  2. #2
    Junior Member
    Join Date
    Mar 2005
    Posts
    9

    did you...

    you say you added "nofstab" to /etc/lilo.conf.....then did you run lilo?? the changes don't happen until you type "lilo" and hit enter at the prompt

    also did you double-check your fstab (check after you boot) to make sure that the partition you wanna auto mount is set to auto mount...if knoppix HW-autodetect gets its hands on it, it'll change it back ...my backup drive looks something like this in my /etc/fstab:

    /dev/hda3 /mnt/hda3 ext3 auto,users,exec 0 0

    I didn't know about the "nofstab" so I just changed the owner of /etc/fstab to my user and gave write permissions to only me (root & everyone can read, but only I can write).....however that doesn't save me any time on the boot.

    cheers
    Eugene

  3. #3
    Junior Member registered user
    Join Date
    Mar 2005
    Posts
    15
    Interesting how ever I am not clear about 2 points

    1. so does changing the fstab file permission to user stop the hardware detect from changing it?

    2. where would I add nofstab in the file?

    Thanks

  4. #4
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    12
    [quote="spottyrover"]Interesting how ever I am not clear about 2 points

    1. so does changing the fstab file permission to user stop the hardware detect from changing it?

    2. where would I add nofstab in the file?

    Add it to the end of the append= line
    but you need to run some commandline to set the thing in knoppix....I think it was ls something??

  5. #5
    Junior Member
    Join Date
    Mar 2005
    Posts
    9

    here...

    spottyrover: 1) yes by changing the write permission only your user can write to the file, but be sure to leave it so that everyone can read it.
    2) I guess (I didn't write it) you would pass the "nofstab" command at the first boot prompt of knoppix (if you're running from bootable cd) ....if it's on your harddrive go into your /etc/lilo.conf and find the kernel you normally use (either 2.4.27 or 2.6.9 unless you added a new one yourself) and find the line in it's section that starts with "append" and add "nofstab" to it....then you must save the file and run "lilo" at the prompt.

    heres a copy of my fstab (just for my extra drive that I want to be mounted):

    /dev/hda3 /mnt/hda3 ext3 auto,users,exec 0 0

    heres a copy of my /etc/lilo.conf (just the part with the kernel I use - which I added 2.6.10)...I added the "nofstab" just so you can see where it goes.....I do not normally have it and have never tried it....I'd try it with the boot cd to make sure it works first):

    image=/boot/vmlinuz-2.6.10-1-686
    label="Linux-2.6.10"
    initrd=/boot/initrd.img-2.6.10-1-686
    append="nofstab ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce atapicd alsa splash"
    read-only


    hope this helps
    Cheers
    Eugene

  6. #6
    Junior Member registered user
    Join Date
    Mar 2005
    Posts
    15
    Thanks
    I was wondering if you could do this.
    As someone new I need as much detail as possible some thing which is hard to get at times

    Thanks again I will give it a go

  7. #7
    Junior Member
    Join Date
    Mar 2005
    Posts
    9

    root

    actually I've realized if you change the owner to yourself, root will overwrite it....so....you have to leave the owner as root and just remove the write permissions

    Cheers
    Eugene

Similar Threads

  1. Auto mount persistant image on boot
    By luka in forum Hardware & Booting
    Replies: 2
    Last Post: 07-23-2008, 03:48 PM
  2. basic auto mount question
    By A. Jorge Garcia in forum General Support
    Replies: 10
    Last Post: 02-28-2006, 11:13 PM
  3. Auto Mount after booting from CD
    By mahdi in forum General Support
    Replies: 3
    Last Post: 04-18-2004, 07:50 PM
  4. Could not create mount point '/mnt/auto/cdrom1'
    By milne in forum General Support
    Replies: 3
    Last Post: 06-14-2003, 01:26 AM
  5. Auto mount of hard disk drive
    By Mycroft1855 in forum Customising & Remastering
    Replies: 1
    Last Post: 02-27-2003, 05:23 PM

Posting Permissions

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


PARTS ONLY* Kingston Fury Renegade Pro 64GB 2x32GB DDR5 Server RAM KF556R36RB-32 picture

PARTS ONLY* Kingston Fury Renegade Pro 64GB 2x32GB DDR5 Server RAM KF556R36RB-32

$599.99



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



ADATA XPG Lancer Blade RGB 32GB (2x16GB) DDR5-6000 CL30 Desktop RAM Black picture

ADATA XPG Lancer Blade RGB 32GB (2x16GB) DDR5-6000 CL30 Desktop RAM Black

$429.94



NEW IN BOX - Corsair Vengeance RGB 32gb (2x16gb) DDR6200 CL36 CMH32GX5M2B6200C3 picture

NEW IN BOX - Corsair Vengeance RGB 32gb (2x16gb) DDR6200 CL36 CMH32GX5M2B6200C3

$550.00



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00