User FAQ
From WhitixDoc
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)
- 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)
- fdisk c.img
- x ( go to expert mode)
- c (change cylinder number; this will be 20 as reported by the bximage output)
- h (change heads number; this will be 16 as reported by the bximage output)
- s (change sectors per track; this will be 63 as reported by the bximage output)
- r (return to main menu)
- n (create a primary partition)
- u (switch display units)
- p (print the partition you have just created;Note the Start value (63 in my case) it may be different but very unlikely)
- w (commit the changes and exit)
- For the Partition you have just Created format it with mkfs.ext3
- 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
- mkfs.ext3 /dev/loop0
- losetup -d /dev/loop0
- Edit your bochsrc.txt
- ata0 is your cdrom leave it as it is to point to cd.iso.
- 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 ...
- cd system/devices/Storage
- 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.)
- mount /system/devices/Storage/HardDriveC0 /mount
- ls /mount ( to check you ext filesystem)
- This short article needs expansion or improvement. Why not help?
| User manual > User FAQ |