Getting to Debian after reinstall
  • Order of the Butterfly
    Order of the Butterfly
    JohnFante
    Posts: 158 from 2006/9/4
    From: Copenhagen
    I recently made a reinstall (Thanks for all the help in that regard) where i formatted my System partition.

    I bought the system from Vesalia with Debian preinstalled.

    Swap is on partition 3 and LNX on 4. (System in dh0 and work on dh1)

    Anybody got any experience with that kind of setup. Eg. how I boot Debain again? :-)

    I have a suspision that I have to have a LNX boot image on dh0: but I am unsure how to get / create it since I don't have a floppy installed, and the only instructions I have found with google is for a floppy setup.

    Last question. Is the RAM checker in the MorphOS install script reliable? I get an error with my RAM when I use the script, but the system works flawlesly if I just copy the files over manually!

    Thanks in advance!
  • »31.10.06 - 19:16
    Profile
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    Is the RAM checker in the MorphOS install script reliable? I get an error with my RAM when I use the script, but the system works flawlesly if I just copy the files over manually!


    It is atleast reliable to the extent that when it detects an error, there is an error, the reverse is not necessarily the case though.

    Mind you, just because it detects an error doesn't mean there's something wrong with your RAM, it could also just mean that your RAM was incorrectly set up by the OFW, either way you are abit stuck, I wouldn't recommend that you continue using your system when memtest detects an error (even if the files copy fine), if you have 2 ram modules, try removing one, if you only have 1, try another module...


    - CISC
  • »31.10.06 - 20:47
    Profile
  • HAK
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 225 from 2003/2/24
    From: Austria, Vienna
    Hi,


    > Eg. how I boot Debain again?

    I assume that you use a PegasosII and the Debian installation is made with an Ext2/Ext3 filesystem and you have only one harddisk installed (correct me and state your setup if it differs from my assumptions).

    Since Ext2/Ext3 partitions are readable from the OF you can have a look at them with "ls hd:x" (hd is the OF alias for the first harddisk found; you can see those aliases by entering "devalias" in the OF) where x is the partition starting numbering with 0. In your case this would be "ls hd:3". "ls hd" only shows all partition and filesystems (if recognized) on this harddisk.

    Take a look at the boot directory of your linux partition (e.g. ls hd:3 /boot) where you should find the bootimage (depends on the version of Debian that is installed (mine is called "vmlinuz-2.6.17-2-powerpc")).

    To load and execute a program via OF (= booting an OS) you need the "boot" command (not to be confused with the "boot" directory of linux), which in turn needs the path and name of the file to load/execute in OF notation.
    Linux itself needs the path of the root (LNX) partition in Linux notation.
    Harddisks in Linux are named "hdyz" where "y" is a character starting with "a" for the first harddisk, "b" for the second and so on. "z" is the partition number of the harddisk starting numbering with 1.
    So, a harddisk, which you can access as "hd:3" under OF will be named "hda4" under Linux.

    So, to boot Debian, you have to enter

    boot hd:3 /boot/<your_linux_bootimage> root=/dev/hda4



    Bye HAK
  • »31.10.06 - 23:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    JohnFante
    Posts: 158 from 2006/9/4
    From: Copenhagen
    Thanks to CISC for the RAM checker info!

    Thanks to HAK for info on how to boot Debian. Works like a charm. I am posting this from Debian.

    Btw: Is there a way to install 3D accelerated ATI drivers on Debian?
  • »01.11.06 - 15:16
    Profile