Find the answer to your Linux question:
Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 46
deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted is this all in the sources.list file? thats strange. generate sources.list using source-o-matic and save file in your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729

    deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
    is this all in the sources.list file? thats strange.
    generate sources.list using source-o-matic and save file in your home foder with name 'new_sources.list'. OR check this link.
    execute this
    Code:
    cd /etc/apt
    sudo mv sources.list sources.list.old
    sudo mv ~/new_sources.list sources.list
    open Synaptic, click on Reload and try to install 'build-essential' package again.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  2. #22
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by devils_casper
    is this all in the sources.list file? thats strange.
    generate sources.list using source-o-matic and save file in your home foder with name 'new_sources.list'. OR check this link.
    execute this
    Code:
    cd /etc/apt
    sudo mv sources.list sources.list.old
    sudo mv ~/new_sources.list sources.list
    open Synaptic, click on Reload and try to install 'build-essential' package again.






    Casper
    I think we've (meaning at your direction) made progress now!
    After setting up the new "sources.list" file, when I clicked on "Reload", it downloaded 18 files, and when I marked "build-essentils" for installation and then "Apply", it downloaded 5 files. Now all I have to do, is wait for my son to come home and try and compile something. I afraid I know something about computer, but compiling is not one of those somethings.
    Thanks,
    Norm

  3. #23
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by spruce_capital
    I think we've (meaning at your direction) made progress now!
    After setting up the new "sources.list" file, when I clicked on "Reload", it downloaded 18 files, and when I marked "build-essentils" for installation and then "Apply", it downloaded 5 files. Now all I have to do, is wait for my son to come home and try and compile something. I afraid I know something about computer, but compiling is not one of those somethings.
    Thanks,
    Norm
    Just trying the simple file hello.C and compilling it into a file called hello, it compiled the executable, but when run, the file wouldn't work...just gave a command not found...Hmmm, not sure if it's still Ubuntu or his file???

  4. #24
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    how did you complie the hello.c file? did you assign new name?
    whats the output of
    Code:
    ./a.out





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #25
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by devils_casper
    how did you complie the hello.c file? did you assign new name?
    whats the output of
    Code:
    ./a.out





    Casper
    Hi Casper,
    g++ hello.C -o hello, (I think this is correct)
    It made a new executable file called hello, but when you try to run it, nothing happens? I think maybe he made a mistake in the hello.C file?
    Thanks,
    Norm

  6. #26
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    does it throw any error message?
    did you try executing
    Code:
    ./hello
    ?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #27
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by devils_casper
    does it throw any error message?
    did you try executing
    Code:
    ./hello
    ?
    You don't have the "Linux Guru" behind your name for nothing? 8 -)

    I guess my son didn't know how to run the program IE "./"

    It worked fine.
    Thank you very much!

    You are probably getting tired of me, but at the risk of being brave....
    What do you know about GRUB 1.5 and error 5
    I'm trying to get Linux running on my own computer (this one we've been working on is my son's).
    I'm using a 160Gb hd0 for XP and a 250Gb with a partition at the end of it for Linux, but I've tried loading Ubuntu twice and end up with the GRUB error as above.
    Thanks,
    Norm

  8. #28
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    i am glad i could help you and you are Welcome for further queries.

    I'm trying to get Linux running on my own computer (this one we've been working on is my son's).
    I'm using a 160Gb hd0 for XP and a 250Gb with a partition at the end of it for Linux, but I've tried loading Ubuntu twice and end up with the GRUB error as above.
    Boot up from Ubuntu LiveCD, open terminal and execute this
    Code:
    sudo grub-install /dev/hda
    reboot machine and check if GRUB Menu appear at startup.
    in case it doesn't work , boot up from LiveCD again and execute 'sudo fdisk -l' post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #29
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by devils_casper
    i am glad i could help you and you are Welcome for further queries.



    Boot up from Ubuntu LiveCD, open terminal and execute this
    Code:
    sudo grub-install /dev/hda
    reboot machine and check if GRUB Menu appear at startup.
    in case it doesn't work , boot up from LiveCD again and execute 'sudo fdisk -l' post output here.
    I'll have to download a LIVE CD, the Ubuntu one I have is an install CD.
    I'll get back to you in a bit then.
    Thanks,
    Norm

  10. #30
    Just Joined!
    Join Date
    Feb 2007
    Posts
    25
    Quote Originally Posted by spruce_capital
    I'll have to download a LIVE CD, the Ubuntu one I have is an install CD.
    I'll get back to you in a bit then.
    Thanks,
    Norm
    Hi Casper,
    sudo grub-install /dev/hda gave me this:
    probing devices to guess BIOS drives. This may take a long time.
    Could not find device for /boot: Not found or not a block device.

    sudo fdisk -l gave me this:
    Disk /dev/hda: 163.9 GB, 163928604672 bytes
    255 heads, 63 sectors/track, 19929 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 5102 40981783+ 7 HPFS/NTFS
    /dev/hda2 5103 19929 119097877+ f W95 Ext'd (LBA)
    /dev/hda5 5103 8213 24989076 b W95 FAT32
    /dev/hda6 8214 10750 20378421 b W95 FAT32
    /dev/hda7 10751 14702 31744408+ b W95 FAT32
    /dev/hda8 14703 15301 4811436 b W95 FAT32
    /dev/hda9 15302 19929 37174378+ 7 HPFS/NTFS

    Disk /dev/hdb: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 23407 23677 2176807+ 83 Linux
    /dev/hdb2 2 23406 188000662+ f W95 Ext'd (LBA)
    /dev/hdb3 23678 30401 54010530 83 Linux
    /dev/hdb5 2 4462 35832951 c W95 FAT32 (LBA)
    /dev/hdb6 4463 8924 35840983+ b W95 FAT32
    /dev/hdb7 8925 15003 48829536 b W95 FAT32
    /dev/hdb8 15004 16504 12056751 82 Linux swap / Solaris
    /dev/hdb9 16505 16573 554211 82 Linux swap / Solaris
    /dev/hdb10 16574 22773 49801468+ b W95 FAT32
    /dev/hdb11 23390 23406 136521 82 Linux swap / Solaris
    /dev/hdb12 23102 23372 2176776 83 Linux
    /dev/hdb13 23373 23389 136521 82 Linux swap / Solaris
    /dev/hdb14 * 22774 23083 2490043+ 83 Linux
    /dev/hdb15 23084 23101 144553+ 82 Linux swap / Solaris

    Partition table entries are not in disk order

    Disk /dev/sda: 250.0 GB, 250059349504 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 2 6376 51207187+ f W95 Ext'd (LBA)
    /dev/sda2 6377 12751 51207187+ c W95 FAT32 (LBA)
    /dev/sda3 12752 21112 67159732+ c W95 FAT32 (LBA)
    /dev/sda4 21113 30401 74613892+ c W95 FAT32 (LBA)
    /dev/sda5 2 6376 51207156 b W95 FAT32

    Hope this helps?
    Thanks,
    Norm

Page 3 of 5 FirstFirst 1 2 3 4 5 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
  •