Results 1 to 6 of 6

Thread: Printing Error messages

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    5

    Printing Error messages

    Hi,

    I tried yesterday to install the LinuxTag Knoppix-DVD on a friends computer. I had to read and "set -vx" the knoppix-install script, to understand that the installer checks swap partions and root partions...

    I wish you would print out error messages, when the return code of a function is not 0 and the installation process loops...


    Another question:

    How large should the root partition be for a DVD install?

    Thanks,
    Rainer

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Well a DVD holds about 4.4G worth of software so.....that's a good indication of size I'd say. If you boot into GUI and run the script from there you can copy and paste error messages. What you've posted rings no bells with me.

    I wonder if it would be possible to send me an .iso of the Linuxtag dvd or let me dl it so I can roast a few copies for those of us not fortunate enough to make it to Linuxtag? Thanks.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Oh, please! I know of one UK magazine editor who is desperate for one (so they can distrubute it)!


  4. #4
    Junior Member
    Join Date
    Aug 2003
    Posts
    5
    Quote Originally Posted by rickenbacherus
    Well a DVD holds about 4.4G worth of software so.....that's a good indication of size I'd say. If you boot into GUI and run the script from there you can copy and paste error messages. What you've posted rings no bells with me.

    [...]
    You got me wrong....

    Pretty much at the beginning in the knoppix install script it says

    while ! partions_ok_check; do
    partition_hdd
    done

    (I could point in more detail, if the knoppix_install skript is somewhere on the net).

    partions_ok_ckeck basically checks if a swap partition is there, if the root partition was found, and if it is large enough. If it fails, e.g. there is no swap partition, the user is in an infinite loop and does not understand why (except installer broken

    Solution:

    Print out: "Installation stopped, because there is no swap partition > 128 MB." and user hits ok button.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    100
    Quote "(I could point in more detail, if the knoppix_install skript is somewhere on the net)"


    http://debian.tu-bs.de/knoppix/installer/


  6. #6
    Junior Member
    Join Date
    Aug 2003
    Posts
    5
    In the function main(), there is:

    while ! check_partition_ok;
    do
    menu_part
    done


    If check_partition_ok fails, the user sees always the menu_part Menu, i.e. the user thinks, the installation loops, i.e. it is broken.


    the check_partition_ok function contains e.g.

    SWAPPARTS=$(find_swap_partitions)
    RC=$?
    SWAPPARTS2=$(find_swap_partitions2)
    [ $RC -eq 1 ] && return 1 # no, we must partition


    I strongly recommend to add a msgbox telling the user why check_partition_ok failed.....then he can (in this example) add swap space in the next partition round and the installation continues...

    Thanks,
    Rainer

Similar Threads

  1. Error messages with HD-install
    By babelbrennt in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-21-2005, 11:00 PM
  2. SSH Error Messages
    By sakiZ in forum Networking
    Replies: 2
    Last Post: 05-12-2005, 02:28 AM
  3. how to display kernel error messages
    By Bones85 in forum General Support
    Replies: 1
    Last Post: 12-27-2004, 03:16 AM
  4. Knoppix 3.7 / Nessus 2.2 process error messages?
    By cqnc in forum General Support
    Replies: 0
    Last Post: 12-19-2004, 04:43 PM
  5. 2 error messages
    By Xeogears13 in forum General Support
    Replies: 0
    Last Post: 11-03-2003, 02:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard) picture

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)

$399.95



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox picture

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox

$620.00



8W81F Dell PowerEdge R840 24x SFF 4x Xeon Gold 6252 H730P 2x 1100W PSU picture

8W81F Dell PowerEdge R840 24x SFF 4x Xeon Gold 6252 H730P 2x 1100W PSU

$1000.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99