Manuals/bootup: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "t")
 
No edit summary
 
Line 1: Line 1:
t
this [[Manuals|manual]] will try to show how to boot up a broken system
 
 
'''safe-boot procedure:'''
 
first up, make a bootdisk using "makeboot" (on another system, duh!)
 
boot up the system with the boot disk, first try reinstall,
 
if that doesn't repair your problem, restart with the boot disk again and this time, chose repair.
 
 
minux will now try to load it's api's and aliases and drop you into a shell
 
 
to get some networking functions and potentially login functionality, you can do the following commands:
 
/boot/network/dhcp - renews the dhcp server
 
/bin/login.sh Yourusername Yourpassword - manually attempt to log in, preferably an admin.
 
 
now you can use most of the tools to change your software and it's settings or force reinstall. see "man apt"
 
 
if that doesn't fix it, try these:
 
run "apt -U" (capital U) to re-install all files of all associated software.
 
 
if you managed to log in, you can also reset your apt sources with "apt -s default"
 
if apt itself is broken or won't launch, you can use the netinstaller's light weight version to reinstall.
 
remove /startup and re-run the netinstaller. most config files should remain the same.
 
 
/boot/addon.d - pre-login boot scripts
 
this file is a compilation of all files found in "/etc/apt/boot/", it gets run on bootup, if you get hung up,try removing this file, turning off auto update and rebooting, if the system boots up normally then it's one of the files in "/etc/apt/boot/" that's not playing nice, uninstalling that software should fix the issue.
 
 
/boot/alias.ls - alias commands
 
this file is a compilation of all files found in "/etc/apt/alias/", it gets run on bootup, same deal as the file above.
 
 
/etc/server.sys - server shell
 
this file also gets invoked on bootup if it exists, tough that should not interfere with your normal bootup at all....
 
resetting/reinstalling/uninstalling

Latest revision as of 10:34, 24 September 2024

this manual will try to show how to boot up a broken system


safe-boot procedure:

first up, make a bootdisk using "makeboot" (on another system, duh!)

boot up the system with the boot disk, first try reinstall,

if that doesn't repair your problem, restart with the boot disk again and this time, chose repair.


minux will now try to load it's api's and aliases and drop you into a shell


to get some networking functions and potentially login functionality, you can do the following commands:

/boot/network/dhcp - renews the dhcp server

/bin/login.sh Yourusername Yourpassword - manually attempt to log in, preferably an admin.


now you can use most of the tools to change your software and it's settings or force reinstall. see "man apt"


if that doesn't fix it, try these:

run "apt -U" (capital U) to re-install all files of all associated software.


if you managed to log in, you can also reset your apt sources with "apt -s default"

if apt itself is broken or won't launch, you can use the netinstaller's light weight version to reinstall.

remove /startup and re-run the netinstaller. most config files should remain the same.


/boot/addon.d - pre-login boot scripts

this file is a compilation of all files found in "/etc/apt/boot/", it gets run on bootup, if you get hung up,try removing this file, turning off auto update and rebooting, if the system boots up normally then it's one of the files in "/etc/apt/boot/" that's not playing nice, uninstalling that software should fix the issue.


/boot/alias.ls - alias commands

this file is a compilation of all files found in "/etc/apt/alias/", it gets run on bootup, same deal as the file above.


/etc/server.sys - server shell

this file also gets invoked on bootup if it exists, tough that should not interfere with your normal bootup at all....

resetting/reinstalling/uninstalling