I was trying to get my OS to host from Ubuntu. I was able to get my kernel to compile on my cross compiler. When I tried to copy my two-stage boot loader onto the disk (a 1gB USB MSD), I ran into problems. I did an empty format of the device under Ubuntu's disk utility. I then copied my 1st stage boot loader onto it. It executes fine under VirtualBox (using a floppy image created with 'dd'). When I add the second stage as a regular file, complications arise. The first time the file is copied onto the disk, VirtualBox is able to load and run it perfectly with my boot loader. If I try to copy it again (another build), my boot loader is able to find the file and parse it into memory. The problem being that nothing gets copied into memory. The root directory and FAT tables appear correct. I have only a limited knowledge of the Linux environment. This system works perfectly under Windows. If anyone knows what is happening, I would appreciate enlightenment.
Hoozim
File System Problems with Ubuntu
- Combuster
- Member

- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: File System Problems with Ubuntu
The enlightenment you need is that the problem is not linux, but rather it's user. 
For the rest, bochs+debugger.
For the rest, bochs+debugger.
