Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Cannonfodder

  1. You will have to type

     

    cd /etc

     

    first and the backup file will go to the current directory /etc. It's just like a file copy in DOS.

     

    root=/dev/hda
    map=/boot/map
    VGA=NORMAL # Add line to set the resolution for the booting screen
    default="linux-i686-up-4GB" # This matches the label for the entry you want as default
    keytable=/boot/us.klt
    PROMPT # Add line to ask Lilo to prompt the booting screen
    nowarn
    TIMEOUT=100 # Add line to force a delay before Lilo loads the default system ( Linux )
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    #
    # first entry starts with image. Note that the label matches the line above?
    image=/boot/vmlinuz-i686-up-4GB
    label="linux-i686-up-4GB"
    root=/dev/hda5
    initrd=/boot/initrd-i686-up-4GB.img
    append="devfs=mount acpi=ht splash=silent"
    read-only
    #
    # second entry is your windows OS
    other=/dev/hda1
    label="windows"
    table=/dev/hda
    #
    # Another windows?
    other=/dev/hdb1
    label="windows2"
    table=/dev/hdb
    map-drive=0x80
    to=0x81
    map-drive=0x81
    to=0x80

  2. If you are "planning" to remove Mandrake, then you can try this.. (easy way)..

     

    1. Boot into Mandrake as you normally do.

    2. Open a console (terminal?)

    3. Type SU and enter followed by the root password.

    4. Now type

     

    lilo -U

     

    -U means to uninstall lilo and restore the previous boot loader.

     

    Then..

     

    5. Reboot

    6. Boot into the Mandrake CD1. Start the installation just as you did the first time (trust me ;) )

    7. When you get to the screen where you can select Custom Partitioning, select Custom.

    8. Use the tools to delete the linux partitions that were made. Be careful not to delete your windows partitions.

     

    Basically, the beginning of the hard drive has a sector that contains information on where the LILO or boot program is located. In this case, the sector (called the Master Boot Record) points to your linux root partition. When you deleted the partition before with out uninstalling lilo, it pointed to nothing and just hangs up. By uninstalling lilo, you restore the master boot record to its prior configuration which points to the first partition on the hard drive (contains windows).

  3. I have taken all of my CD's (lots!) and burned them to individual ISO files on my hard drive. Whenever I need one, I just mount it and use it. THe only exception is the window's boot of course.. although you could possible get away with that too..

  4. That would be me.. my first real computer language was Pascal and I now write OOPS applications in Foxpro and some other lanuguages (visual basic). Learning how to program OOPS is defininately a must. I don't just say this to parrot others but have learn from experience. I remember going through the shift and while it was difficult, it clicked into place one day. One big thing to remember is that objects are event driven. Each event is a method (like a procedure) in an object. The object has properties like variables. The methods have variables inside of them as well (local variables). The objects are executed using an event framework. E.g. I click on a button and the button (an object) CLICK() event (a method called click) takes off. The CLICK() event has code that calls the FORM.RELEASE() event. This event closes and releases the button's window. The button itself exists separately from everything else as does the form. But you can join them or have underlying sub-classes (objects) that they share. E.g. Dog and Man have noses (underlying object nose). It actually makes life easier because you can narrow your focus down to designing a class to do something and only worry about that class. Once it does what you want it to do, then yoiu can use that class anywhere. It's actually fun :) I suspect you have not had a real life project to work with using classes and as a result find it hard to learn. Take a class or write some software.. Python is definitely a good language to learn..

  5. Another way to go about it is to get a Object Orientated Programming book with C++. Either one book or both. The Black books are used to provide 'how-to" info rather than a structured learning approach (I think we are talking about the same thing). You might want to learn Visual Net C++ instead. There is a crossplatform version of it called Mono. It's been developed by Ximian. Do a google to find.. One of the Linux mags out this month has an article on how to write a web blog with mono..

  6. I currently have 2 hd's and 13 partitions with different kernel versions, distributions, my home directory, backup partition, etc... :juggle: I would like to clean it up by ordering my partitions in a logical manner, i.e.

    /dev/hda1 /

    hda2 /boot

    hda3 /swap

    hda4 Extended

    hda5 Pictures

    etc...

     

    My question is this: If I copy my root partition from /dev/hdb1 to /dev/hda1, edit lilo and fstab to reflect the changes and then reboot, will this work? If not, how would I do this without reinstalling?(All of the above assumes that I have my partitions setup and designated correctly, i.e. 83 for linux, 82 for swap, etc...)

     

    [moved from Software by spinynorman]

    It should work.. just do what you said you were going to do. use

     

    cp -pax to copy everything from one to another and boot off a CD to do the copying.. Then leave the original alone until you have proven the new root is booting correctly..

     

    That's all I can think of :)

×
×
  • Create New...