Results 1 to 9 of 9

Thread: installing BT20 Final: #df problem

  1. #1
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default installing BT20 Final: #df problem

    Ok,
    I use 'nano' to modify /etc/fstab and /etc/mtab.
    I have saved all my modification to those files and I write something like that:

    /etc/fstab
    #tmpfs / tmpfs nouato,defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /boot ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 / reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate


    /etc/mtab
    #tmpfs / tmpfs rw 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    usbfs /proc/bus/usb usbfs rw,devgid=10,devmode=0666 0 0
    /dev/hda1 /boot ext2 rw,noatime 0 0
    /dev/hda3 / reiserfs rw,noatime 0 0



    but (and this is the problem!) when I reboot the laptop I can't find my modification !??
    If I do:
    #df
    tmpfs 47703500 2741420 44962080 6% /
    /dev/hda1 132206 3209 122171 3% /mnt/hda1
    /dev/hda3 47703500 2741420 44962080 6% /mnt/hda3

    and this is NOT what I wrote in /etc/fstab isn't it?

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    / is the parent file system or "root file system" not to be confused with the root user/directory. Every thing is mounted to / in some way.

    In order to edit a file you need to use a editor. Backtrack has like 10 different ones. learn how to use one of them. nano ,vi,vim,kate,kwrite and.... well there's more

  3. #3
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Angry BT20 Final: #df problem

    Hi,
    It's first time I write something on this forum so: hi everybody.
    I'm newbie in linux world but I choose slackware because I want to improve my knoledge.
    I hope you can help me in this complicate work...

    So I've this problem.
    I have installed (from CD) BT2 Final on my laptop.
    At the end of my installation I try the command df but obtain something like that

    bt ~ # df
    Filesystem 1K-blocks Used Available Use% Mounted on
    tmpfs 47703500 2741420 44962080 6% /
    /dev/hda1 132206 3209 122171 3% /mnt/hda1
    /dev/hda3 47703500 2741420 44962080 6% /mnt/hda3

    I've looked /etc/fsatab and found something like that:
    tmpfs / tmpfs defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /mnt/hda1 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 /mnt/hda3 reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate



    I can't understand why the virual filesystem tmpfs is mounted on /.



    If I try to modify /etc/fstab and /etc/mtab manually in this way:

    /etc/fstab
    #tmpfs / tmpfs nouato,defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /boot ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 / reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate


    /etc/mtab
    #tmpfs / tmpfs rw 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    usbfs /proc/bus/usb usbfs rw,devgid=10,devmode=0666 0 0
    /dev/hda1 /boot ext2 rw,noatime 0 0
    /dev/hda3 / reiserfs rw,noatime 0 0


    when I reboot the system I can't find my change.
    So my questions are:

    1. Is that because tmpfs is mounted on / ?
    2. How can I modify pemanently the /etc/fstab and /etc/mtab ?

    Thank you for the help you could give me.
    Kapo!

  4. #4
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default

    Ok,
    I use 'nano' to modify /etc/fstab and /etc/mtab.
    I have saved all my modification to those files and I write something like that:

    /etc/fstab
    #tmpfs / tmpfs nouato,defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /boot ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 / reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate


    /etc/mtab
    #tmpfs / tmpfs rw 0 0
    proc /proc proc rw 0 0
    sysfs /sys sysfs rw 0 0
    usbfs /proc/bus/usb usbfs rw,devgid=10,devmode=0666 0 0
    /dev/hda1 /boot ext2 rw,noatime 0 0
    /dev/hda3 / reiserfs rw,noatime 0 0



    but (and this is the problem!) when I reboot the laptop I can't find my modification !??
    If I do:
    #df
    tmpfs 47703500 2741420 44962080 6% /
    /dev/hda1 132206 3209 122171 3% /mnt/hda1
    /dev/hda3 47703500 2741420 44962080 6% /mnt/hda3

    and this is NOT what I wrote in /etc/fstab isn't it?

  5. #5
    Member
    Join Date
    Mar 2008
    Posts
    114

    Default

    Hello use KEdit or Gedit to modify your files.
    Are you on the Live CD or did you installed BT on your HDD?

  6. #6
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default

    I have installed BT20 Final from CD to HardDisk.

    I've tried to use Gedit to modify /etc/fstab and /etc/mtab but the problem is also the same. Before I reboot my laptop I can see all my change and the filesystem is ok, but after next bootstrap all my modification disappear.

    My /etc/fstab is always the same:

    tmpfs / tmpfs defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /mnt/hda1 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 /mnt/hda3 reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate

    I'm not able to change it!
    Thank you for your help!!!

  7. #7
    Member
    Join Date
    Mar 2008
    Posts
    114

    Default

    Did you tried with an other editor?

  8. #8
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default

    I've used:
    - nano
    - mc
    - gedit

    but do you really think the problem is the editor I used?
    It's strange because I loose my modifcation only after bootstrap, if I don't reboot my lapton evrything is ok...

    If you have installed BT20 Final could you give me your /etc/ftab and /etc/mtab just to see if you have somthing important different from my /etc/fstab and /etc/mtab ?

    Thank you...

  9. #9
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default

    Hello?
    Anyone else has any idea about my problem??
    Thank you...

Posting Permissions

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