User FAQ

From WhitixDoc

Jump to: navigation, search

Frequently asked questions by users, generally on the user mailing list, are answered here.

Is Whitix just another Linux?

No. It's a custom operating system developed for the desktop user.

How do I mount a harddisk/harddisk partition after I boot from cd image using Bochs emulator?

If you have bochs installed, you can follow these steps ...

  • Create a hd image using bximage (this image creater comes with bochs)
  1. bximage

It will ask you easy questions, just follow the questions you will get output like...

ata0-master: type=disk, path="c.img", mode=flat, cylinders=20, heads=16, spt=63

Note the Cylinders,heads and Sector per track(spt). Save the above line, this will be usefull in editing bochsrc.txt(You get this bochs configuration file when you download Whitix).Note path="c.img" in output line, this is the default image name given by bximage, you can change it also its upto you. I am assuming c.img as default and using it in below examples.

  • Partition The Image (c.img)
  1. fdisk c.img
  2. x ( go to expert mode)
  3. c (change cylinder number; this will be 20 as reported by the bximage output)
  4. h (change heads number; this will be 16 as reported by the bximage output)
  5. s (change sectors per track; this will be 63 as reported by the bximage output)
  6. r (return to main menu)
  7. n (create a primary partition)
  8. u (switch display units)
  9. p (print the partition you have just created;Note the Start value (63 in my case) it may be different but very unlikely)
  10. w (commit the changes and exit)
  • For the Partition you have just Created format it with mkfs.ext3
  1. losetup -o 32256 /dev/loop0 c.img ( the value 32256 is(512 times Start Sector number we got in bullet 9) that is 512 * 63 = 32256
  2. mkfs.ext3 /dev/loop0
  3. losetup -d /dev/loop0
  • Edit your bochsrc.txt
  1. ata0 is your cdrom leave it as it is to point to cd.iso.
  2. ata1 will be your harddisk(c.img).Copy verbatim the output of bximage(Create a hd image using bximage from above) into bochsrc.txt.The snippit output is below.

ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14

ata0-master: type=cdrom, path="cd.iso", status=inserted, biosdetect=auto, model="Generic CDROM drive"

ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15

ata1-master: type=disk, path="c.img", mode=flat, cylinders=20, heads=16, spt=63

  • Boot Whitix and mount the partition

After Whitx is booted ...

  1. cd system/devices/Storage
  2. ls ( here you should see HardDriveC and HardDriveC0. HardDriveA is your cdrom. HardDriveC is your c.img and HardDriveC0 is the first primary partition. We will mount HardDriveC0.)
  3. mount /system/devices/Storage/HardDriveC0 /mount
  4. ls /mount ( to check you ext filesystem)






This short article needs expansion or improvement. Why not help?
User manual > User FAQ
Personal tools