Professional Linux Help and Support Thread

fallenzeraphine

Active member
  • Jan 29, 2008
    1,385
    9
    38
    gkyasitha said:
    How to install windows xp and ubuntu Gubsty 7. both in a single hard disk?

    How to partition the hard disk when installing ubuntu to a machine which windows xp is already exist............

    do anyone know?:nerd:

    This is a very simple procedure GKyasitha, Allways remember that you have to install Windows first, and then Linux

    • Create a partition for windows and intall it there assume this as drive C:\
    • and if the rest of your hard drive is Unallocated you can procede straight to install Ubuntu, on the partition creation setup screen create partitions for the root , swap and User, ubuntu will auto allocate appropriate space for these partitions
    • if the other portion of your HDD is allready formatted, you have to unallocate about 20GB form it and, then proceed to installing Ubuntu, on the partition screen, select the unallocated space and the setup will auto allocate the space.
     

    ICE

    Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    gayannr said:
    There are some ways to install Linux First and then Windows :)

    yaa true. matter of reinstalling linux boot loader again.

    dont knw whether the windows boot loader can be configured for dual boot for linux and xp. never tried.

    can it?
     

    gayannr

    Member
    Sep 29, 2006
    3,479
    4
    0
    The City of Lost Heaven
    ICE said:
    yaa true. matter of reinstalling linux boot loader again.

    dont knw whether the windows boot loader can be configured for dual boot for linux and xp. never tried.

    can it?
    In the latest Ubuntu 8.04 it is no sweat,can be installed from inside windows too,goes to add remove programs and comes under Windows boot loader ;)
     

    ICE

    Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    gayannr said:
    In the latest Ubuntu 8.04 it is no sweat,can be installed from inside windows too,goes to add remove programs and comes under Windows boot loader ;)

    wow simple as that. should try. the thing is that i dont have linux installed . hahahah

    running on live. ida na ban hard eke linux danna :P
     

    Nic

    Well-known member
  • Sep 8, 2007
    10,224
    165
    63
    GoogleLand
    ICE said:
    i think all of them has almost same applications. The difference is mainly is how it looks . ( the window manager)

    Kubundu comes with KDE
    ubuntu with Gnome

    not sure about edibuntu

    i think edubunti is some thiung special edition 4 education
     

    fallenzeraphine

    Active member
  • Jan 29, 2008
    1,385
    9
    38
    Well no, GNOME, KDE, and all other Desktop Environments are different and its not only the interface that change, sure most of the aplications work cuz of the compatibility with the linux kernel and runtimes, but they are not the same, and thats a fact
     

    nadman123

    Junior member
  • Mar 12, 2008
    53
    0
    6
    Please help me to write this script

    write a UNIX shell script (Bourne shell syntax) called​
    admin_script​
    . This script is described below as a usage summary:

    admin_script [ -l n ] [ -f n ] [ -s username ] [ -d username ]
    [ -b username yyyymm ] [ -c ]​
    Note: if no options are specified, a menu is displayed which allows
    users to perform​
    one of the following tasks and then exit. If
    incorrect options are provided, an error message is echoed to standard
    output followed by the usage line above and an appropriate exit value
    should be returned to the shell. Any combination of the options can be
    provided by the user and the options do not have to be provided in the
    order given in the usage message.

    -l n​
    Display the last​
    n lines of the /etc/passwd file

    -f n​
    Display the first​
    n lines of the /etc/passwd file

    -s username​
    Display the full path name of the login shell used by​
    username

    -d username​
    For the home directory of​
    username, display an English language string
    which shows the permissions of the user’s home directory.
    For example, suppose the home directory of
    cwilson has the following
    permission string:
    drwxr-xr-- … /home/cwilson
    In this case the output from the script would be:

    User cwilson’s home directory has the following permissions set:
    Read,Write and Execute for the user.
    Read and Execute for the group.
    Read only for others.
    -b username yyyymm​
    Perform a backup of the files in home directory of​
    username. However,
    when using this option we only want to backup files which have been
    modified during the month specified in the option. The month is
    specified as a four digit year followed by a two digit month (e.g.
    200804 refers to April 2008). The files should be backed up to a
    directory called .backup in the home directory of
    username. If this
    directory does not exist when the script is run, it must be created by
    the script.

    -c​
    Return a count of all users registered on the system (not just those
    users logged on) whose UID is greater than 500​
    -h​
    Send information to standard output regarding the author (including
    student-id number) of the program and the date it was written​
     

    henderson

    Active member
  • Nov 24, 2007
    3,150
    2
    38
    Senior Executive, Goldman Sachs
    I have a problem with Suse 10.3, i tried to boot this from the live CD, I use a router and its working properly. My NIC is Realtek RTL8139/810X onboard LAN, and the LEDs on that card does not lit when I boot from Suse, while it lits when I boot from XP. means my Ethernet card is the culprit. Can you give me some advice on this matter to setup my stupid Ethernet card.
     

    kasuncs

    Well-known member
  • May 21, 2007
    3,590
    271
    83
    Did u configre the network settings. try to restart network
    /etc/init.d/network restart
     

    dineitdark

    Member
    Jan 25, 2007
    642
    1
    0
    henderson said:
    will it work on live cd?
    it will work anyways.

    if it doesn't slove your problem,
    do these (as root)
    0. su
    1. ifconfig eth0 up
    2. dhcpd -n eth0

    if it still don't work, please post the output of ifconfig eth0
    *i am assuming that you only have one NIC(eth0)
     

    henderson

    Active member
  • Nov 24, 2007
    3,150
    2
    38
    Senior Executive, Goldman Sachs
    dineitdark said:
    it will work anyways.

    if it doesn't slove your problem,
    do these (as root)
    0. su
    1. ifconfig eth0 up
    2. dhcpd -n eth0

    if it still don't work, please post the output of ifconfig eth0
    *i am assuming that you only have one NIC(eth0)

    your assumption of one network card is correct and this is the output

    linux:/home/linux # ifconfig
    eth0 Link encap:Ethernet HWaddr 00:15:58:44:65:6F
    inet addr:169.254.63.97 Bcast:169.254.255.255 Mask:255.255.0.0
    inet6 addr: fe80::215:58ff:fe44:656f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:17 Base address:0x2000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:45 errors:0 dropped:0 overruns:0 frame:0
    TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2860 (2.7 Kb) TX bytes:2860 (2.7 Kb)

    linux:/home/linux # ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:15:58:44:65:6F
    inet addr:169.254.63.97 Bcast:169.254.255.255 Mask:255.255.0.0
    inet6 addr: fe80::215:58ff:fe44:656f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:17 Base address:0x2000
     

    dineitdark

    Member
    Jan 25, 2007
    642
    1
    0
    is your router configured to act like a DHCP server? etc have to given a manual IP to your windows box when its running? or is the IP automatically detected by windows(in this case your router acts as a DCHP server)?

    you NIC is detected but it is not up and running. as you can see all the stats of eth0 is about your NIC. and it seems to have the default IP. meaning that the IP was not assigned to it by DHCP. but if you have disabled it in your router or for some reason its not thre in your router or if you are using a manually configured IP in your windows box. you will have to set the IP manually.

    #bringing it down
    ifconfig eth0 down

    #setting your IP and the netmask
    ifconfig eth0 147.123.20.1 netmask 255.255.255.0

    #bringing it up
    ifconfig eth0 up

    #adding the default gateway
    # route add default gw 192.168.1.254 eth0

    all this can be done in a GUI but it deffer from distro to distro. and i haven't used suse for a long time. in any case google should help.
     
    Last edited:

    kasuncs

    Well-known member
  • May 21, 2007
    3,590
    271
    83
    dineitdark said:
    is your router configured to act like a DHCP server? etc have to given a manual IP to your windows box when its running? or is the IP automatically detected by windows(in this case your router acts as a DCHP server)?

    you NIC is detected but it is not up and running. as you can see all the stats of eth0 is about your NIC. and it seems to have the default IP. meaning that the IP was not assigned to it by DHCP. but if you have disabled it in your router or for some reason its not thre in your router or if you are using a manually configured IP in your windows box. you will have to set the IP manually.

    #bringing it down
    ifconfig eth0 down

    #setting your IP and the netmask
    ifconfig eth0 147.123.20.1 netmask 255.255.255.0

    #bringing it up
    ifconfig eth0 up

    #adding the default gateway
    # route add default gw 192.168.1.254 eth0

    all this can be done in a GUI but it deffer from distro to distro. and i haven't used suse for a long time. in any case google should help.

    macho slt wala router wala gw eka 192.168.1.1 wage mataka.
     

    henderson

    Active member
  • Nov 24, 2007
    3,150
    2
    38
    Senior Executive, Goldman Sachs
    dineitdark said:
    is your router configured to act like a DHCP server? etc have to given a manual IP to your windows box when its running? or is the IP automatically detected by windows(in this case your router acts as a DCHP server)?

    you NIC is detected but it is not up and running. as you can see all the stats of eth0 is about your NIC. and it seems to have the default IP. meaning that the IP was not assigned to it by DHCP. but if you have disabled it in your router or for some reason its not thre in your router or if you are using a manually configured IP in your windows box. you will have to set the IP manually.

    #bringing it down
    ifconfig eth0 down

    #setting your IP and the netmask
    ifconfig eth0 147.123.20.1 netmask 255.255.255.0

    #bringing it up
    ifconfig eth0 up

    #adding the default gateway
    # route add default gw 192.168.1.254 eth0

    all this can be done in a GUI but it deffer from distro to distro. and i haven't used suse for a long time. in any case google should help.

    I use manual IP in my windows XP system. but did not disabled DHCP in router. anyway I'll check this and get back to you.