Results 1 to 3 of 3

Thread: Mount on /opt

  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152

    Mount on /opt

    Hi all,

    I already stored data om my EXT HDD that is mounted on /tmp/harddisk. But now I want to mount it to /opt. Can I do that without losing my data? If yes, How?

    Can I do it this way

    Run partition magic
    Make the partition some smaller
    Make a SWAP drive from the remaining free space
    Close partition magic
    Mount the drive as opt
    Turning swap on

    Then do the steps "installing basic software" on the macsat website

    Is that possible?
    Last edited by MHz; 05-05-2007 at 11:54.
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  2. #2
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    yes, your way is possible.

    However, there is easier way:
    PHP Code:
    ln -/dev/discs/disc0/part1 /opt
    dd 
    if=/dev/zero of=/opt/swap.file bs=1M count=256
    mkswap 
    /opt/swap.file
    swapon 
    /opt/swap.file 
    will link /opt to your hdd and create swap file in /opt with size 256Mb
    swapon should be repeated at every reboot

  3. #3
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Thanks For your help. Works now!
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

Similar Threads

  1. mounting to /opt
    By kabubu in forum WL-HDD Q&A
    Replies: 6
    Last Post: 28-03-2007, 08:48
  2. can not mount prevous partitions?
    By sparkY in forum WL-HDD Q&A
    Replies: 1
    Last Post: 20-03-2007, 20:17
  3. refused mount request
    By colalight890 in forum WL-500g Q&A
    Replies: 0
    Last Post: 01-12-2006, 15:03
  4. Mount problem (strenge)
    By qczek in forum WL-500g Custom Development
    Replies: 1
    Last Post: 01-02-2006, 13:05

Posting Permissions

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