Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hi all, Can anyone tell me how to mout my other drives and partitions in Ubuntu? The drives are listed when I use the KDE desktop but not Gnome. Also ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445

    Mounting drive/partitions & firewall question


    Hi all,

    Can anyone tell me how to mout my other drives and partitions in Ubuntu? The drives are listed when I use the KDE desktop but not Gnome. Also is there a firewall included in Ubuntu, if not how do I add one?

    Thanks,

    Martin
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by Martin from Dublin
    Can anyone tell me how to mout my other drives and partitions in Ubuntu? The drives are listed when I use the KDE desktop but not Gnome.
    First you can list your local partitions with:
    Code:
    fdisk -l
    I guess you are talking about windows shares here...

    So look at this thread for more details on how to mount NTFS/FAT32 partitions:
    http://www.linuxforums.org/forum/sus...e-help-me.html

    Quote Originally Posted by Martin from Dublin
    Also is there a firewall included in Ubuntu, if not how do I add one?
    For an easy to configure Firewall, you can use "firestarter":
    http://easylinux.info/wiki/Ubuntu#Ho...Firestarter.29
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445
    Hi antidrugue,

    fsik doesn't seem to produce anything , see below;

    martin@dhcppc1:~$ fdisk -l
    martin@dhcppc1:~$

    I tried to install the firewall and got this;

    martin@dhcppc1:~$ sudo apt-get install firestarter
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package firestarter
    martin@dhcppc1:~$


    So I'm not getting anywhere at the moment......
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  4. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by Martin from Dublin
    martin@dhcppc1:~$ fdisk -l
    fdisk should be done as root, or with sudo.

    Quote Originally Posted by Martin from Dublin

    martin@dhcppc1:~$ sudo apt-get install firestarter
    Password:
    That should work normally. Maybe you should check out your /etc/apt/sources.list, see if it is configured correctly.

    This could help you:
    http://easylinux.info/wiki/Ubuntu#Repositories

    Anyway if you still don't find firestarter even after setting up your sources.list file than you can find an easy firewall searching for something like that:

    Code:
    apt-cache search gtk firewall
    or

    Code:
    apt-cache search gnome firewall
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  5. #5
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445
    Hi again antidrugue,

    Here's the result of f-disk:

    root@dhcppc1:/home/martin # fdisk -l

    Disk /dev/hda: 80.0 GB, 80032038912 bytes
    255 heads, 63 sectors/track, 9730 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 3991 32057676 c W95 FAT32 (LBA)
    /dev/hda2 3992 9730 46098517+ f W95 Ext'd (LBA)
    /dev/hda5 3992 5878 15157296 b W95 FAT32
    /dev/hda6 5879 6917 8345736 83 Linux
    /dev/hda7 6918 6956 313236 82 Linux swap / Solaris
    /dev/hda8 6957 7919 7735266 83 Linux
    /dev/hda9 7920 8709 6345643+ 83 Linux
    /dev/hda10 8710 9730 8201151 83 Linux

    Disk /dev/hdb: 40.0 GB, 40027029504 bytes
    255 heads, 63 sectors/track, 4866 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 * 1 4866 39086113+ c W95 FAT32 (LBA)
    root@dhcppc1:/home/martin #

    As you can see, I'm running a lot of operating systems on the one machine. Also, hdb1 ('D' drive) is where WIN XP lives, that's the most important one to mount as it contains all my MP3 files.

    The Synaptic PM worked fine, Shorewall now installed.

    Martin
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Ok, mounting FAT32 partitions is rather simple.

    If you want to mount them manualy from the terminal:
    Code:
    sudo mount -t vfat -o umask=0000,user /dev/hda1 /mnt/windowsxp1
    Note that the destination directory must exist.

    Then you can make a symlink for this directory in your home directory:
    Code:
    cd
    ln -s /mnt/windowsxp1
    You can mount it automatically with an entry like that in /etc/fstab
    Code:
    /dev/hda1    /mnt/windowsxp1    vfat    umask=0000,user   0    0
    Try
    Code:
    man mount
    for more.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445
    Hi again,

    OK, the drives are mounted but under the MNT folder in the system,but it works, I can open my files. Now I can't get the system to play the MP3 files! Totem says it's missing plugins, I added Noatun and XXMS but Noatun says it can't find a sound device and XXMS seems to hang and hang. What now or should I start a separate thread for this issue?

    The firewall (shorewall) is installed but may not be configured. Instructions go past during the boot-up far too fast for me to read, where is the Shorewall configuration?

    Thanks,

    Martin
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  8. #8
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by Martin from Dublin
    OK, the drives are mounted but under the MNT folder in the system,but it works, I can open my files. Now I can't get the system to play the MP3 files! Totem says it's missing plugins, I added Noatun and XXMS but Noatun says it can't find a sound device and XXMS seems to hang and hang. What now or should I start a separate thread for this issue?
    Which version of Ubuntu?

    For Breezy:
    http://easylinux.info/wiki/Ubuntu#Ho...timedia_Codecs

    For Dapper:
    http://easylinux.info/wiki/Ubuntu_da...timedia_Codecs

    Make sure you configured your repositories to use the "multiverse" packages, or else you won't be able to install any codecs.

    Quote Originally Posted by Martin from Dublin
    The firewall (shorewall) is installed but may not be configured. Instructions go past during the boot-up far too fast for me to read, where is the Shorewall configuration?
    For that you can try too install the package
    Code:
    sudo apt-get install shorewall-doc
    and read the documentation.

    This could help too:
    http://www.shorewall.net/shorewall_quickstart_guide.htm

    Or for a simple GUI configuration use "webmin":
    Code:
    sudo apt-get install webmin webmin-shorewall
    Most Ubuntu sites only talk about "Firestarter".
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  9. #9
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445
    Hi again

    Still no better off I'm afraid, I installed as you suggested but Totem still won't play any MP3 files for me. I tried Amarok and installed XINE, Amarok trows up an error stating no sound device has been detected so although it plays the music file, there's no sound. Xine just plays the files but again no sound, but no error message. But when I insert a CD, a programme called CD Player runs and I hear the music and all other OS sounds are heard. I'm using Hoary Hedgehog as that is the only disc I have, is there a known issue in Hoary regarding MP3 playback?

    I installed both docs for the firewall, how do I now open them?

    Finally, how good is Hoary? Would I be better off to download Brezy and start over?
    Sorry for all the questions but as you can guess, I've very much a newbie despite been listed as a 'Linux User' (that's only there because I post a lot). I try distros and when I get tired or fed up with one, I remove it to try another.
    Thanks again,
    Martin

    EDIT: MP3 playback works when in KDE using Kaffeine Media Player.........very strange!!?
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

  10. #10
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by Martin from Dublin
    I'm using Hoary Hedgehog as that is the only disc I have, is there a known issue in Hoary regarding MP3 playback?
    Hoary... Ubuntu 5.04. Did you take a look at the Ubuntu 5.04 guide?
    http://ubuntuguide.org/


    No issue whatsover with MP3 playback, but like most Linux distro you need to install the proper codecs (which aren't there by default for legal reasons).

    For that you need to (all is explained in the GUIDE):

    1) Set up /etc/apt/souces.list so it uses the "multiverse" (don't use backports):
    http://ubuntuguide.org/#extrarepositories
    2) Install the proper multimedia codecs:
    http://ubuntuguide.org/#codecs
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Page 1 of 2 1 2 LastLast

Posting Permissions

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