-
fstab noauto --> auto??
I installed Knoppix without using hdinstall but instead copied all CD's /KNOPPIX folders into one of my pre-made partitions. In this way when booting my HDD it boots same as the CD (starting with knoppix-autoconfig) and I get new hardwares auto installed.
A new /ect/fstab file is created each time. How to change the fstab generated script to get an "auto" option instead of "noauto" for the partitions what are found?
Code:
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
It should be like this:
/dev/hda3 /mnt/hda3 ext3 auto,users,exec 0 0
The purpose is to get partition (hda3) auto mounted. I tried edit /etc/init.d/knoppix-autoconfig but didn't work. How about /etc/auto.mnt or auto.master?
-
Senior Member
registered user
none of them can be changed. They are symbolic link to the compressed image which is read only. One possible way is you copy the file into the initroot.gz file system and modify the linuxrc on it to copy them back to /etc/rcS.d/S**(of course you have to remove the link in linuxrc first).
-
Re: fstab noauto --> auto??
Originally Posted by
rasat
I tried edit /etc/init.d/knoppix-autoconfig but didn't work.
I took a second look at the knoppix-autoconfig and found the script installing "noauto" config.
Code:
# Normal partition
if [ -z "$fnew" ]; then
fnew="$p $d auto noauto,$options 0 0"
anew="$d -fstype=auto,$options :$p"
stringinfile "$fnew" "/etc/fstab" || echo "$fnew" >> /etc/fstab
Changed the line to:
Code:
fnew="$p $d auto auto,$options 0 0"
Similar Threads
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By fowlertrainer in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-31-2004, 09:10 PM
-
By DimGR in forum Hardware & Booting
Replies: 8
Last Post: 05-29-2004, 04:48 AM
-
By digiSal in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 12-19-2003, 04:41 PM
-
By maddany in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2003, 02:19 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
-
Forum Rules
G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5" SSD 0G5T03 SSDSC2BA800G3E
$55.00
Brand New 128GB-240GB-256GB-512GB 2.5 inch SATA3 Solid State Drive 2.5" SSD
$17.99
HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB
$59.00
Samsung PM991 1TB M.2 SSD Internal PCIe 3.0x4 2230 NVMe R31264 Solid State Drive
$95.00
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Micron 2300 256GB M.2 GEN 3x4 PCIe NVMe Solid State Drive 2280 SSD 00C2G4
$14.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$13.99
Lot of 10 Mixed Brand Model 128GB 2.5" SATA SSD Solid State Drives
$69.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$107.99