Jump to content




Hard Drive Partitioning BIOS


  • You cannot reply to this topic
5 replies to this topic

#1 KillaVanilla

  • Members
  • 303 posts

Posted 15 November 2012 - 04:59 PM

Hello all.

This BIOS mod will divide your (in-game) computer's hard drive into partitions/sections.
Each section can have its own startup file (which are still overridden by any startup files in disks). In addition, programs running in one partition are restricted to that partition (think chroot). In other words, programs run from one partition cannot edit files in another partition.

Partitions are stored as folders in the (real) root directory.
The inital partition is named "A", but partitions can have any name.
The BIOS also allows booting to the lua interpreter, in case something bad happened (like a virus attack) and you need to run cleanup operations.

You can get this BIOS mod from pastebin.

Do note that there may be a few issues related to booting to floppy disk drives.

#2 lieudusty

  • Members
  • 419 posts

Posted 15 November 2012 - 05:45 PM

This seems cool. :P/>

#3 BigSHinyToys

  • Members
  • 1,001 posts

Posted 15 November 2012 - 06:11 PM

you have duplicated a function
line 647 to 663 is the same as line 665 to 681 fs.move ?

#4 KillaVanilla

  • Members
  • 303 posts

Posted 16 November 2012 - 11:30 AM

View PostBigSHinyToys, on 15 November 2012 - 06:11 PM, said:

you have duplicated a function
line 647 to 663 is the same as line 665 to 681 fs.move ?

Problem's fixed, that was supposed to be fs.copy.

#5 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 16 November 2012 - 12:35 PM

It would be really cool if instead of a BIOs mod you could make it into a startup script with something similar to chroot.

#6 KillaVanilla

  • Members
  • 303 posts

Posted 16 November 2012 - 01:12 PM

View PostHuman, on 16 November 2012 - 12:35 PM, said:

It would be really cool if instead of a BIOS mod you could make it into a startup script with something similar to chroot.

This could be put inside of a startup script.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users