The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Dual boot: Ubuntu 6.10 + XP. Help!

    Discussion in 'Linux Compatibility and Software' started by DutchMaster, Apr 14, 2007.

  1. DutchMaster

    DutchMaster Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    I started fresh with XP. Patched it all up. I don't want to have any use for XP unless I want to play games. So I installed Ubuntu 6.10 and I have a few issues I have not found answers to on forums:

    1) Sometimes Ubuntu will freeze for no apparent reason at all. These freezes seem to be random in nature. Sometimes it happens when I'm just letting the OS idle. Sometimes it is when I'm using GAIM or FireFox. What is going on here? And by what I mean by freezing: The entire system does not respond to keyboard, mouse control, etc. I manually have to shut the system down.

    2) Sometimes when I want to switch back to XP from Ubunto (Using restart) I will be left to a completly black page with a blinking "[" button. I can type whatever in the world I want -- but since I know nothing about linux I end up having to manually shut down.

    3) On the plus side: I am using Ubuntu right now on a wireless connection that could not be connected to using Windows. I suppose Ubuntu is better for wireless vs. Windows?

    Thank you very much for reading this --
     
  2. DutchMaster

    DutchMaster Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    Also I am trying to do this script in the terminal but it says "no such file is found". Why is Linux so hard =(
    ----

    #!/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 <[email protected]>
    # 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
     
  3. donec

    donec Notebook Enthusiast

    Reputations:
    7
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    15
    I tried Ubuntu and decided it was too restricting and difficult for me so I tried SimplyMepis 6.0 and found a great system. I do not need to use the console but I can if I want to except for odd things like adding the use of IE 6.0 & 5.5 for website testing. When combined with Wine you get the best of both Windows software and the great layout and security from Linux. Go SimplyMepis.

    PS the versions of SimlyMepis before 6.0 were not near as good as 6.0.