Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Windows Drives  (gelezen 1788 keer)

Monstroxus

  • Gast
Windows Drives
« Gepost op: 2006/11/01, 06:20:54 »
Voorheen toen ik dapper installeerde (dual boot met XP), gaf die netjes de windows drives aan, en kon gewoon alle windows drives doorzoeken zoals normaal. Nu heb ik een Edgy geinstalleerd, werkt prima, maar nou geeft die niet de windows drives meer aan.

Hoe kan ik dingen zo instellen dat ik deze drives weer kan zien?

Bedankt.

Offline Kiwinote

  • Lid
    • Launchpad
Windows Drives
« Reactie #1 Gepost op: 2006/11/01, 07:26:47 »
Gebruik de diskmounter:
wget http://www.ubuntulinux.nl/files/diskmounter
sudo bash diskmounter
rm diskmounter

Monstroxus

  • Gast
Windows Drives
« Reactie #2 Gepost op: 2006/11/01, 16:15:11 »
Bedankt het werkt!

Kan ik dingen zo instellen dat ik die window drives zie onder "places" maar niet op de desktop zelf? Ik hou nl niet van icons op mijn desktop.

Offline Kiwinote

  • Lid
    • Launchpad
Windows Drives
« Reactie #3 Gepost op: 2006/11/01, 16:24:45 »
gconf-editorapps>nautilus>desktop ---Vinkje weghalen bij volumes_visible

Monstroxus

  • Gast
Windows Drives
« Reactie #4 Gepost op: 2006/11/03, 15:27:09 »
hmm... ok... maar ik zie niet de optie die ik zoek... enig idee waar ik het precies kan vinden?

Offline bartek

  • Lid
    • http://bartek.blogsome.com
Windows Drives
« Reactie #5 Gepost op: 2006/11/03, 15:40:41 »
Welke fase in 't proces kom je niet tegen?
gconf-editor (intypen in je terminal)
Je krijgt nu een schermpje waarin je kan navigeren.
Apps -> Nautilus -> desktop
en dan op 't rechterscherm 't vinkje weghalen bij Volumes_visible

Kun je wat meer details geven aub, wij doen ook moeite om je te helpen, zou leuk zijn als we direct weten waar je vastzit.
;)
| Deliberando saepe perit occasio |

"Car la vie est un bien perdu quand on n'a pas vécu comme on l'aurait voulu"

Offline Dave

  • Lid
Windows Drives
« Reactie #6 Gepost op: 2006/11/03, 17:56:52 »
ah geweldig. ben ik ze ook eindelijk kwijt.

Monstroxus

  • Gast
Windows Drives
« Reactie #7 Gepost op: 2006/11/04, 02:03:09 »
Ah... Bartek, bedankt, ik dacht dat ik alle opties had doorgelopen in de gconf-editor... dus niet... bedankt!

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Windows Drives
« Reactie #8 Gepost op: 2006/11/04, 10:49:52 »
Het is overigens handig om na deze grote verdwijntruc, een appeltje met schijfkoppelaar toe te voegen aan je werkbalk. Bij mij staat-ie in de balk beneden. Vooral handig met USB-staven.

Groet, Pjotr.

Windows Drives
« Reactie #9 Gepost op: 2006/11/12, 12:07:23 »
Citaat van: bartek
Welke fase in 't proces kom je niet tegen?
gconf-editor (intypen in je terminal)
Je krijgt nu een schermpje waarin je kan navigeren.
Apps -> Nautilus -> desktop
en dan op 't rechterscherm 't vinkje weghalen bij Volumes_visible

Kun je wat meer details geven aub, wij doen ook moeite om je te helpen, zou leuk zijn als we direct weten waar je vastzit.
;)
Nog even een vraagje hierover................

Hoe kan ik dit doen voor andere gebruikers die inloggen?
OS: Ubuntu Gnome 22.04/Xubuntu 22.04; Windows 10 (dualboot) en RPI 2, 3 en 4: Bitwarden en Pihole (rpi2) Bullseye xfce, Retropie en Twister
***Steunpunt***  voor andere steunpunten: https://kaart.ubuntu-nl.org/
                    "Echte wijsheid is weten wat je niet weet"

Offline Dave

  • Lid
Windows Drives
« Reactie #10 Gepost op: 2007/01/03, 00:53:16 »
Citaat van: Kiwinote
Gebruik de diskmounter:
wget http://www.ubuntulinux.nl/files/diskmounter
sudo bash diskmounter
rm diskmounter
de pagina bestaat niet meer.

Offline Kiwinote

  • Lid
    • Launchpad
Windows Drives
« Reactie #11 Gepost op: 2007/01/03, 17:59:18 »
Daarom ben ik zo slim geweest om het op mijn hardeschijf op te slaan :)
Citaat
Zet de volgende code in een leeg document
Citaat
#!/bin/bash
####################
# This utility searches for available HFS+, NTFS and FAT32 partitions, creates
# mount points for them and adds them to /etc/fstab
# (c)2005 Dennis Kaarsemaker
# Thanks to Nalioth for suggesting, assisting with and testing the HFS+ bits
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Instructions for use:
#  - Save this file on your local hard drive
#  - Open a terminal and type sudo bash diskmounter
#  - If sudo asks for a password, use your own password
#  - Your windows and mac partitions will now be mounted everytime
#    you boot. You can delete this script now
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
###################

# Root check
if [[ $UID != 0 ]]; then
    echo 'You should run this program as root or using sudo'
    exit 1
fi

# Simple command line argument for installers
# -w: mount them with user,umask=0111
# -r: mount them with user,umask=0133,uid=1000,gid=1000
RWALL=-1;
if [[ $1 == '-w' ]]; then RWALL=1; fi
if [[ $1 == '-r' ]]; then RWALL=0; fi

if [[ $RWALL == -1 ]]; then
    echo 'By default the disks will be writable only by root and'
    cat /etc/passwd | awk -F ':|,' '/:1000:/ {print $5 " (" $1 ")"}'
    echo 'Do you want to make the disk writable by all users instead? (y/n)'
    read RESP
    if [[ $RESP == 'y' || $RESP == 'Y' ]]; then
        RWALL=1
    else
        RWALL=0
    fi
fi

if [[ $RWALL == 1 ]]; then
    OPTIONS='user,fmask=0111,dmask=0000'
    MACOPTIONS='user,file_umask=0111,dir_umask=0000'
else
    OPTIONS='user,fmask=0133,dmask=0022,uid=1000,gid=1000'
    MACOPTIONS='user,file_umask=0133,dir_umask=0022,uid=1000,gid=1000'
fi

# Now for the real work
drivesntfs=`fdisk -l | grep -i 'ntfs' | awk -F '/| ' '{print $3}'`
drivesfat=`fdisk -l | grep -i 'fat32' | awk -F '/| ' '{print $3}'`
driveshfs=`fdisk -l | grep -i 'Apple_HFS' | awk -F '/| ' '{print $3}'`

usefuse=no
test -r /etc/lsb-release && source /etc/lsb-release
if [[ "x$DISTRIB_RELEASE" == "x6.04" || "x$DISTRIB_RELEASE" > "x6.04" ]]; then
    echo "As of Ubuntu 6.04 (Dapper Drake) there is slightly more NTFS writing support"
    echo "through a very experimental NTFS FUSE module. Using this seems to work but"
    echo -n "is NOT recommended. Do you want to use this? [no] "
    read RESP
    if [[ $RESP == 'yes' ]]; then
        usefuse=yes
        echo "Enabling experimental NTFS write support"
    else
        echo "Not enabling experimental NTFS write support"
    fi
fi            

donesomething='n'
for drive in $drivesntfs; do
    if [[ ! `grep $drive /etc/fstab` ]]; then
        mkdir "/media/$drive"
        echo "#Added by diskmounter utility" >> /etc/fstab
        if [[ $usefuse == 'yes' ]]; then
            echo "/dev/$drive /media/$drive ntfs-fuse rw,$OPTIONS 0 0" >> /etc/fstab
        else
            echo "/dev/$drive /media/$drive ntfs ro,$OPTIONS 0 0" >> /etc/fstab
        fi
        echo "Added /dev/$drive as '/media/$drive'"
        donesomething='y'
    else
        echo "Ignoring /dev/$drive - already in /etc/fstab"
    fi
done
if [[ $donesomething == 'y' && $usefuse == 'no' ]]; then
    echo "NTFS drives will be mounted read-only!"
fi
for drive in $drivesfat; do
    if [[ ! `grep $drive /etc/fstab` ]]; then
        mkdir "/media/$drive"
        echo "#Added by diskmounter utility" >> /etc/fstab
        echo "/dev/$drive /media/$drive vfat rw,$OPTIONS 0 0" >> /etc/fstab
        echo "Added /dev/$drive as '/media/$drive'"
        donesomething='y'
    else
        echo "Ignoring /dev/$drive - already in /etc/fstab"
    fi
done
for drive in $driveshfs; do
    if [[ ! `grep $drive /etc/fstab` ]]; then
        mkdir "/media/$drive"
        echo "#Added by winmac_fstab utility" >> /etc/fstab
        echo "/dev/$drive /media/$drive hfsplus rw,$MACOPTIONS 0 0" >> /etc/fstab
        echo "Added /dev/$drive as '/media/$drive'"
        donesomething='y'
    else
        echo "Ignoring /dev/$drive - already in /etc/fstab"
    fi
done

if [[ $donesomething == 'y' ]]; then
    # And mount them
    mount -a
    echo "All windows and mac partitions will now be mounted every time you boot"
    echo "You do not need to reboot, the partitions are mounted now too"
else
    echo "No usable windows/mac partitions found"
fi
Sla deze op als ~/diskmounter
Dan de volgende commando's in de terminal zetten:
sudo bash diskmounter
rm diskmounter
Klaar

Offline siegi

  • Lid
Windows Drives
« Reactie #12 Gepost op: 2007/01/03, 18:35:07 »
Ik heb hem maar even op mijn hosting gegooit.  
wget http://siegie.sin.khk.be/diskmounter
sudo bash diskmounter
rm diskmounter

(als de maker van het pakket er bezwaar moet hij het mij maar laten weten)