Broadband
Dial-Up
Email
Hosting
Wireless
Security
Useful Tools
Quick Reference
Contact Us
Customer Portal
Site Search

Zen Internet Support Forum

Welcome to the Zen Internet community support forums.

Before posting we recommend you search our
extensive Knowledge Base or the forum archives
as an answer to your query may already be available.

Welcome to Zen Internet Support Forum Sign in | Join | Help
in
Forums Forum Rules

Setting screen res in Ubuntu 7.04

Last post 18-07-2007, 8:47 AM by Ken Odlum. 35 replies.
Page 2 of 3 (36 items)   < Previous 1 2 3 Next >
Sort Posts: Previous Next
  •  04-07-2007, 6:35 AM 27209 in reply to 27205

    Re: Setting screen res in Ubuntu 7.04

    cat /etc/fstb result 

    kenneth@galadriel:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/hda1
    UUID=f21e9d7d-ccca-4f26-94a7-4d0019bf8e8b /               ext3    defaults,errors=remount-ro 0       1
    # /dev/hda5
    UUID=c34ef736-5951-4b64-ac1f-7a1f1b47f80c none            swap    sw              0       0
    /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
    /dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
    kenneth@galadriel:~$

    I hope that meens something to you Smile

     


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  04-07-2007, 2:10 PM 27218 in reply to 27209

    Re: Setting screen res in Ubuntu 7.04

    It does indeed!
    Never mind the "proc" line -- that's just a location to keep an on-the-fly record of what your system is up to.

    It looks as though you've only got one hard drive registered -- /dev/hda -- which will be your primary (hardware-wise) hard disk. This is listed as having two partitions for mounting: /dev/hda1 which is mounted on the root mount-point "/", and /dev/hda5 which is your swap partition. Never mind the latter.

    For /dev/hda1, the principal option to look at is "defaults", which is an umbrella for the following specific options:

    rw -- readable and writeable

    suid -- Allow set-user-identifier or set-group-identifier bits to take effect (in effect allows other users to have the rights of the "owner" user, for files on the file-system which have appropriate "permission bits").

    dev -- Interpret character or block special devices on the  file system (a technical one)

    exec -- Permit execution of binaries (programs) stored in the filesystem

    auto -- To be mounted aitomatically during boot-up

    nouser -- Forbid  an  ordinary  (i.e.  non-root) user to mount the file system.

    async -- All I/O to the file system should be done asynchronously

    The above are normal defaults. In particular the "rw" option allows writing and deleting, as well as reading. The alternative  is "ro" which allows read-only access.

     *** You do not have a second (hardware) hard drive listed *** You may have one installed in the machine, but it is not known to your Linux installation. And, apart from the "swap" partition /dev/hda5,

    *** You do not have a second partition on your primary hard disk *** 

    Meybe, when you wrote "how do I get Ubuntu to allow me to delete and write to the second hard drive or a usb external drive?", you meant a second partition on your primary physical hard disk. Ex-Windows users can get confused owing to the obfuscation generated by names like "Drive C:", "Drive D:", "Drive E:" etc. as if these were separate drives; usually they are not -- simply separate partitions of a single hard disk; though if you install a second hard disk you will find its primary partition becomes "Drive D:" on your system and your previous "Drive D:", "Drive E" ... move up to "Drive E:", Drive F:" ... . Thank you Mr Gates!

    In Linux, your physical hard disk will be called /dev/hda for your primary master, /dev/hdb for your primary slave, /dev/hdc for your secondary master, /dev/hdd for your secondary slave. Each of these will have its disk space partitioned (you must have at least 1 partition on each disk), and the partition names will be like /dev/hda1, /dev/hda2, etc.

    You do not have a /dev/hdb listed, so no primary slave hard disk (even if one is in the box). Your /dev/hdc and /dev/hdd correspond to two CDROM drives assecondary master and secondary slave. These are not automatically mounted at boot-time ("noauto") so will be mounted by the system when needed.

    If you do have a second physical hard disk, it will not be "seen" by the system unless it has been mounted in "filesystem" space, and this cannot happen (except by a forcing"mount" command issued at the command line) if it does not have an entry in /etc/fstab.

    As further diagnostics, what happens if you (as root) enter the following command?
    NB!! DO NOT USE ANYTHING EXCEPT THE "p" AND "q" COMMANDS IN FDISK FOR NOW!!

    fdisk /dev/hdb

    [and then when you get the prompt " Command (m for help):"]

    p

    [and then you should het a listing of the partitions on /dev/hdb. Please post the result] [THEN]

    q

    [to quit from fdisk] 

     If you don't have a second physical hard disk, do the same as the above for your primary one:

    fdisk /dev/hda

    p

    q

    Hoping this helps to make progress! 

  •  04-07-2007, 3:52 PM 27219 in reply to 27218

    Re: Setting screen res in Ubuntu 7.04

    Not worked my way through all your post yet (printed it out for study)

    If I go to Places Computer it shows the other hard drive and I can mount it and read or copy from it OK 


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  04-07-2007, 6:52 PM 27221 in reply to 27205

    Re: Setting screen res in Ubuntu 7.04

    Also both hard drives only have one partition the full size of the drives. Could the second partition actually be the second drive?

     


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  05-07-2007, 7:04 PM 27253 in reply to 27221

    Re: Setting screen res in Ubuntu 7.04

    Ken, did you try

    fdisk /dev/hdb

    yet?

    Followed by "p" (to print the partition info to the screen) 

    Then "q" to quit. What do you get?

    Also from the command line try

     sudo vol_id /dev/hdb1

    which should give you the long "UID:" thingy (seems this is a recent, especially Ubuntu, way of identifying partitions as opposed to the traditional /dev/hdb1 etc. Info suggested by some expert "local" Linux users). 

  •  05-07-2007, 7:54 PM 27254 in reply to 27253

    Re: Setting screen res in Ubuntu 7.04

    eelman:

    Ken, did you try

    fdisk /dev/hdb

    yet?

    Followed by "p" (to print the partition info to the screen) 

    Then "q" to quit. What do you get?

    Also from the command line try

     sudo vol_id /dev/hdb1

    which should give you the long "UID:" thingy (seems this is a recent, especially Ubuntu, way of identifying partitions as opposed to the traditional /dev/hdb1 etc. Info suggested by some expert "local" Linux users). 

    Hang on I am still struggling with your other post Smile

    I will give those a go and post the results.

    Thanks very much for the interest 


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  06-07-2007, 6:24 AM 27259 in reply to 27254

    Re: Setting screen res in Ubuntu 7.04

    kenneth@galadriel:~$ fdisk /dev/hdb

    Unable to open /dev/hdb


    kenneth@galadriel:~$ sudo vol_id /dev/hdb1
    Password:
    ID_FS_USAGE=filesystem
    ID_FS_TYPE=ntfs
    ID_FS_VERSION=3.1
    ID_FS_UUID=D6DCB497DCB472FB
    ID_FS_LABEL=Drive
    ID_FS_LABEL_SAFE=Drive
    kenneth@galadriel:~$  vol_id /dev/hdb2
    /dev/hdb2: error open volume

    kenneth@galadriel:~$ sudo fdisk /dev/hdb1

    The number of cylinders for this disk is set to 119148.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
       (e.g., DOS FDISK, OS/2 FDISK)

    Command (m for help): sudo fdisk /dev/hdb1
    Building a new Sun disklabel. Changes will remain in memory only,
    until you decide to write them. After that, of course, the previous
    contents won't be recoverable.

    Drive type
       ?   auto configure
       0   custom (with hardware detected defaults)
       a   Quantum ProDrive 80S
       b   Quantum ProDrive 105S
       c   CDC Wren IV 94171-344
       d   IBM DPES-31080
       e   IBM DORS-32160
       f   IBM DNES-318350
       g   SEAGATE ST34371
       h   SUN0104
       i   SUN0207
       j   SUN0327
       k   SUN0340
       l   SUN0424
       m   SUN0535
       n   SUN0669
       o   SUN1.0G
       p   SUN1.05
       q   SUN1.3G
       r   SUN2.1G
       s   IOMEGA Jaz
    Select type (? for auto, 0 for custom):


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  07-07-2007, 1:57 PM 27287 in reply to 27259

    Re: Setting screen res in Ubuntu 7.04

    Bit of an update

    Yesterday I installed ntfs-3g and now Ubuntu allows me to read and write to usb hard drives and usb pendrives which it would not before BUT although I enabled both read and write of internal and external drives the internal second hard drive as now vanished altogether Smile

    What a wonderful and mysterious world Linux is.

    Still at least I can now get files off the linux box when I need to.

     


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  07-07-2007, 5:11 PM 27291 in reply to 27287

    Re: Setting screen res in Ubuntu 7.04

    Hi Ken

    Sorry to be delayed getting back on this topic -- other things on plate!
    I've read through what you've done. One thingseems clear: your "b" drive has an NTFS type filesystem on its partition /dev/hdb1. That it indicated by your result

     sudo vol_id /dev/hdb1
    Password:
    ID_FS_USAGE=filesystem
    ID_FS_TYPE=ntfs

    of 07-06-2007, 6:24 AM.

    Unfortunately, I think you may have subsequently done "sudo fdisk /dev/hdb1" in the wrong context. This should have been done from the Linux command line, not as acommand to fdisk. Yet your post shows that you did:

    Command (m for help): sudo fdisk /dev/hdb1
    Building a new Sun disklabel. Changes will remain in memory only,
    until you decide to write them. After that, of course, the previous
    contents won't be recoverable.

    and the "Command (m for help):" shows that you were still in fdisk at the time. Within fdisk, the command "s" (which is the first letter of your "sudo ... " has the effect: "s   create a new empty Sun disklabel". If after that point you quit fdisk using "q" or "Ctrl-C" then you should be safe. It's the "w" command which writes changes (cached in RAM) back to disk. If that happened then there may well be problems with accessing the disk, since its partition table would probably have been changed.

    It would be worth checking with (from the Linux command line):
    sudo fdisk -l /dev/hdb

    (the "-l" option simply lists the partition info, and I should have suggested that previously).

    I've been airing your issues on the Anglian Linux User's Group (ALUG) list. There have been a number of useful replies. The thread "Help me to help someone!" can be found at

     http://lists.alug.org.uk/main/2007-July/thread.html

    There's a recent reply from Wayne Stallwood ( Date: Sat, 07 Jul 2007 16:38:05 +0100) which doesn't seem to have reached the archives yet, but should be read when it does (pretty soon now).

    Also, there seems to be various info about NTFS on Ubuntu at:

     https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G

     http://ubuntuforums.org/showthread.php?t=217009

    (the latter being an extended forum discussion).

    Keep in touch! 

  •  07-07-2007, 8:37 PM 27292 in reply to 27291

    Re: Setting screen res in Ubuntu 7.04

    Thanks again, a lot more for me to study.

    Please excuse the slowness but I am very new to Linux.

    I have used some version of MS Windows since 3.1 so Ubuntu is all very alien and I have gotten very soft hiding behind the protection of a totally GUI front end.

    I will do a little reading from the links in your post.

    Thanks again 


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  07-07-2007, 9:01 PM 27293 in reply to 27292

    Re: Setting screen res in Ubuntu 7.04

    Ken Odlum:

    Please excuse the slowness but I am very new to Linux.

    No problem! I have the benefit of Unix eperience since 1984, Linux since 1992, so have had a very long time to pick things up! Only problem is, that what I've picked up over the years is beginning to get a bit antiquated... 

  •  08-07-2007, 6:43 AM 27297 in reply to 27292

    Re: Setting screen res in Ubuntu 7.04

    One question worrying me is, have I buggered up the second hard drive with fdisk (some bad memories from dos)?

    Can I reformat it with linux and use it to store data or do I remove the drive and try to recover it on a windows machine?

    At least now that ntfs-3g as allowed me to write to an external usb drive the machine as become usable.

    I think as far as Linux is concerned I may be trying to run before I can walk but Ubuntu does claim the be "Linux for human beings" Smile 


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  08-07-2007, 7:58 AM 27298 in reply to 27297

    Re: Setting screen res in Ubuntu 7.04

    Ubuntu wouldn't be my recommendation to a newcomer because it doesn't have the nice friendly configuration control panel which some others have, such as Mandriva, OpenSuse and PCLinuxOS (the best of the lot in my opinion). But that being said, there's a lot of support for Ubuntu (I suggest you join their forum) and now you've got as far as you have it's probably best to stay with it.

     

  •  08-07-2007, 11:39 AM 27300 in reply to 27298

    Re: Setting screen res in Ubuntu 7.04

    The only other form of Linux I have tried was Suse 10.1 which did some things great but I found it a nightmare to install software with it where Ubuntu is quite easy.

    I will probably stay with it for a while as long as I don't need the machine for anything else. I will at least start to read the forum a lot more but must admit that I do got lost with some of the different jargon they use as I have now been pampered for a long time by Microsoft products.

    I am also getting a bit long in the tooth so don't grasp things quite so easily as I used to but at least it gives what little grey matter I have left a little bit of a work out which is the main reason why I have gone down this path. With all the frustration it gives me I must admit that I am finding it quite interesting.

    Not hit the computer as yet Big Smile 


    Ken

    Zen Active 8000

    By the time a family pays off the mortgage for a home in the suburbs, the home isn't home,and the suburbs aren't suburbs.
  •  08-07-2007, 12:57 PM 27305 in reply to 27300

    Re: Setting screen res in Ubuntu 7.04

    It's good that you're persevering. What many people trying Linux fail to recognise is that it's not Windows; it's different. I would argue with anyone who says that it's fundamentally more difficult than Windows, because this is just a matter of familiarity. It does take time to get this familiarity, but the rewards are, in my opinion, quite considerable.

     

Page 2 of 3 (36 items)   < Previous 1 2 3 Next >
View as RSS news feed in XML