Hey guys trying to fix a friends computer and he got a virus that messed up his MBR. I was trying to boot the windows XP disk into recovery however it throws errors before I could reach the prompt to hit R to repair the system. I was going to try to boot a startup disk however he doesn't have a floppy drive and I was trying to figure out how to boot from a flash drive but that was hard to follow.. any advice or tips how to fix/clean his MBR? Thanks!
Hirens
Search the torrents for a Hirens boot CD
Now about version 9.6
Burn and boot on the system with the bad MBR.
Lots of tools to fix this......... and that ............... and the other.
Keep the CD its a valuable tool
Good Luck
Pegleg
pegleg007 said:
Search the torrents for a Hirens boot CD
Now about version 9.6
Burn and boot on the system with the bad MBR.
Lots of tools to fix this......... and that ............... and the other.
Keep the CD its a valuable tool
Good Luck
Pegleg
Click to expand...
Click to collapse
I'm not to familiar with searching torrents.. but ill try later when I get home from work.. is there free program that will help repair the MBR that I can download online?
You need some boot device
Can you boot to DOS on your friend PC
if so
Run
FDISK /MBR
This write a new boot rec
or you boot from vista or xp installation cd and runnign the system repair console and use there the fix mbr command
pegleg007 said:
Can you boot to DOS on your friend PC
if so
Run
FDISK /MBR
This write a new boot rec
Click to expand...
Click to collapse
Anyone know how to make a dos startup disk not on a floppy but on a CD... cause he doesn't have a floppy drive.. and the XP disk doesn't allow to get to the Repair option or allows me to format.. I've been searching online about images but doesn't seem to work..
sguerra923 said:
Anyone know how to make a dos startup disk not on a floppy but on a CD... cause he doesn't have a floppy drive.. and the XP disk doesn't allow to get to the Repair option or allows me to format.. I've been searching online about images but doesn't seem to work..
Click to expand...
Click to collapse
Hi,
You could try to find an image of a bootdisk and put it on a USB-pendrive. In your BIOS set the bootdevice to USB, and check wether the USB settings allow to emulate a floppy.
Dirk
Here you go:
Code:
http://www.nu2.nu/bootcd/
You'll find all the information you need to do the bootable cd by yourself right there.
Go grab an old copy of DOS (might be Win95, Win98 or WinME, all of them include a full copy of DOS, fdisk included) and repair your MBR just as pegleg007 says.
Be careful, this method applies to FAT partitions, if yours is NTFS, you might need newer tools to repair your MBR.
Thanks guys problem fixed..
Related
Hi,
been trying to cook my Alpine ROM, and i'm having some trouble mounting the ms_.nbf.
im trying to mount it in a linux box, and got the error:
mount -o loop -t vfat ms_.nbf /mnt/loop0
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
i just to add/remove some cabs.
any help would be apreciated.
thanks in advance,
Miguel
(imate pda2)
It's been a while since I used linux, but I seem to remember that before trying to mount the loop device, you must first link the /dev/loop0 device to the image file using the command "losetup". Can't remember what the parameters for losetup are though.
Then it was simply "mount /dev/loop0 <mount point>" and the OS worked out the filesystem for itself. But specifying "-t vfat" is also good.
This was on Suse Linux 8.
glick said:
Hi,
been trying to cook my Alpine ROM, and i'm having some trouble mounting the ms_.nbf.
Click to expand...
Click to collapse
The *.nbf file is encoded, so you must decode it into the *.nba. Then there is a ' provider' header in the *.nba
file, so you need to add an offset to the loop command.
Oh yes, I failed to spot that mistake.
The simplest way to decode the .nbf file into a mountable FAT image is to use this program (unfortunately it is a dos/windows program, but if you have an emulator or a dual-boot system then you might be able to use it).
The same tool will also encode the modified FAT image back into a.nbf file ready to burn to the device.
pmandrews said:
The simplest way to decode the .nbf file into a mountable FAT image is to use this program (unfortunately it is a dos/windows program, but if you have an emulator or a dual-boot system then you might be able to use it).
Click to expand...
Click to collapse
It is a perl script/tool and it works on linux natively
without any emulators.
hi !
first of all, tyvm for all your help, gonna try the ideas u guys gave.
at the moment i can see my extended rom and can cook it with the sd card method.
was trying some more "direct" way to do it.
http://forum.xda-developers.com/viewtopic.php?t=31106
I know it's Windows based but it's the easiest way I know of.
It gives the tools to modify the extended roms before they are installed. A lot quicker and easier than the SD method. A rough idea, I modify my ROMs in about 5 minutes from blank, another 5 to install.
pug said:
I know it's Windows based but it's the easiest way I know of.
Click to expand...
Click to collapse
I don't think that
mount -o loop,offset=128 ms_.nba /mnt
is rocket science
All I'm saying is that way the program splits the rom image into header and fat image ready to be mounted wit out having to worry about offsets etc, when you finish, it combines it ready to be flashed.
I agree it's not rocket science but others may do.
No offense but the suggestion wasn't aimed at you, you know what you are talking about. I was just suggesting an alternative to flashing by SD card, as mentioned before in this post, which is far easier and quicker.
At the end of the day I was only trying to help, sorry I got in your way.
1st try with the win gui and all that, worked !!
u are right, it only takes 5 mins, awesome, thank you!
the mount in a linux box will try later, with a lil more time to try and understand that
Off Topic: grats for the excellent forum !
bye,
Miguel
Hi all,
I popped back after some time away to find that you'd now been working on linux for the BA.
Course, eager as ever I dived in and tried to understand what I thought said instructions.
So I downloaded all the required files, and placed them into the folders specified, ran Heret.exe and I get our iccle penguine with a thermometer rising but when it reaches the top thats all it does?
Am I missing something ere?
Gav
I've got it to get to the Portmap, but i'm unable to login via USB.
Has ANYONE managed to deal with this yet?
Gav
it works exactly as advertised on WIKI.
after temp. goes thru the roof and penguin eyes crack, you should see kernel messages scrolling by.
since u don't see that, i'm guessing the kernel cannot be found because u didn't set up the SD card correctly.
post ur SD card partitions (fdisk -l) and also output of ls -lR
before u can login remotely, usb net modules must be loaded (see wiki)
I had realised I had downloaded the initrd-3.6.12-hh2.gz and mapped the startup.txt to that file,
so I downloaded the 2.6 version and changed the startup and I got the kernal message.
It goes through the kernel and I get a usb disconnection notification on xp and activesync disconnects.
As for partitions, how the f**k do I do this, because theres nothing in wm2003se that allows you to partition sd cards, and I don't get any command prompt on the linux kernel.
Also I do get an error that etc/modules directory could not be found but the kernal continues to load.
Regards
Gav
I'm just waiting till their is a complete Linux ROM with a portalable WINE port built in so you can run TomTom. Then I'll be happy. :wink:
man, you need to follow the wiki EXACTLY. u will not get anywhere by skipping steps.
windoze cannot create required fat and ext3 partitions. the fastest way 2 do this is download a linux live cd
judging by ur level of experience, i say leave this alone, until linux for blueangel matures enough for foolproof installation.
and how do I mount this ext3 partition?
(I can only connect to the initrd-filesystem with ssh)
but i'm using flashboot to put XP back on my lapttop, and i think it will only boot from the usb drive, is there a way to install to my hdd? and i have no optical drive in it -,-;
Erm, good luck
XP does not support install from USB.
Best you can do, is install via network, or invest in an optical device as they surely must cost about ten cents from one of your WHARLMARTS
using wintoflash, hopefully it works....
acolwill said:
Erm, good luck
XP does not support install from USB.
Best you can do, is install via network, or invest in an optical device as they surely must cost about ten cents from one of your WHARLMARTS
Click to expand...
Click to collapse
yes it does. get the hp format tool to install a boot sector on your flashdriv e then dump the xp cd to your flash drive boot from the flash drive and run. the xp setup inside of the i386 folder.
Like I said previously. Windows XP doesn't support that.
Considering I looked into this probably about 5 years ago, I still stand by my first comment.
If you still want to attempt to install a 9 year old operating system, then you may want to read these:
http://www.pctipsbox.com/installing-windows-xp-using-a-usb-flash-drive/
http://en.kioskea.net/faq/3065-installing-windows-xp-from-a-usb-key
got an external usb and got xp for better drivier usuilities.
alcolwill is prolly drunk , dont worry about him , heres wat ya redneck is lookin for
1, get ur hands on a win7/xp image
2, burn it to your favorite min. 4gb/(1gb for xp) usb drive with your favorite disk burning program that supports writing to usb (ultra iso for one < top menu , burn boot image , its vital that u dont just pull the files cuz u wanna create a booting sector)
3, set >boot from external< on and >boot priorities< for usb drive to correct value in bios (some bioses also have Esc for boot menu option)
4, ????? (restart comp)
5, PROFIT
if doesnt work , ask family for other pendrive/c-reader , not all can boot
went ahead and picked uo an external optical, so its all good! =]
WinXP from USB
it is possbile because i've done it. all it is a bootable drive
Right before the Introduction, I am not responsible for anything you do to you Phone, you are free to do or not to do what I am explaining to you so its on your own risk...
Introduction:
Ok guys so here we are, trying to install a Linux Distro on our awesome x86 Phone...
Damn this doesnt work because our Android is compiled in a different way than ARM Android so we have to wait for better Docs or someone who can get the bootloader to laod a different OS...
But you dont want to wait right?
So here we go, the only alternative:
Chroot into Linux
Description:
Chrooting lets you run annother Linux on top of the currently running Linux (what Android actually is...more or less).
So you mount an existing Linux and simply run it.
What I want to do:
I want to guide you through chrooting and setting up an Arch Linux on your RAZR i.
Requirements:
You need:
A micro SD card (I used a 8GB sized one but 4GB/more than 8 should also work, you just have to adjust some Steps)
An Arch Linux Image (I will give you a link)
(Not required but I will focus on this Platform because I use it myself and it works best, I guess)
A Linux PC running Virtual Box
Tutorial:
First you need an Arch Linux Image. Any other Linux Distro should work fine, but others also take up a lot more Space and Ubuntu for Example has many Problems running in Chroot (because Canonical did some S***).
I used this one:
Arch Linux 2012.10.06
Again, any Version should work fine, just took the latest one
So lets set up our System...
Start Virtual Box and create a new System.
Create a new Hard Drive and size it so it fits onto your micro SD.
I used 5 GB-7.5GB on a 8GB micro SD.
Insert the downloaded ISO FIle into the Virtual Box CD Drive and start your Virtual Machine.
Select the i686 mode (because or CPU is 32bit not 64bit)
If you have the wrong Keyboard Layout Follow this Keyboard Setup Keyboard Config
Next you need to partition the HDD: Partitioning the HDD
Now Install the Base System: Install the Base System
After this follow the next Steps on the Arch WIki (Generate an fstab, Chroot and configure the base system, Set the root password and add a regular user)
DO not reboot because you didnt create a Bootloader (not required for chrooting), instead go to the "Extra" Section and follow all Steps till troubleshooting (DO NOT REBOOT AND DO NOT STARTX this didnt work for, might for you, might not and then you have to cold reboot the VM)
Now you can reboot Again enter the Live System, load your keymap and chroot into the system
You might already install some Packages like a VNC server (pacman -S tightvnc) which will be required for a Graphical User Interface later...
To create the Image you need later, the easiest way for me to pull the Image out of the VM (which has no space for this Image) because the Virtual Box Plugin didnt work for me is sshfs.
I highly recommend to install an ssh server ond the sshfs system into you arch.
If you have done so, mount your PC from inside the VM so you can put the Image on your PC's HDD.
now to create an Image of your Arch theres one command and two ways:
You create an Image of the whole HDD (what I did)
You create an Image of the one Partition
I chose the first because i didnt want to put anything else on my micro SD, I cant confirm that the second way works but it is suppoes to so lets create the Image:
We make use of the Linux command dd, really, REALLY mke sure that you are executing from inside the VM since you can harm your HDD and dont forget the file extension....
First method:
Code:
dd if=/dev/sda of=/location/to/your/PC/HDD/imagefilename.img
The Second method (not confirmed):
Code:
dd if=/dev/sda1 of=/location/to/your/PC/HDD/imagefilename.img
where sda1 should be the partition you want to image...
This might take a loooooooong time
Now you have this Image, put your micro SD into an Adapter and put it into your PC.
Now find out the name of the SD, I used gparted and I found out that the name is sdc (could be sd + letter of alphabet)
Here the Ways split again:
The first Method completly overwrites anything that is on your microSD so make a backup, the second Way is just putting the created .img file onto the micro SD:
Method One:
Code:
dd if=/path/of/the/img/file of=/dev/sdc
Replace sdc with your micro SD letter, if you put in a wrong letter, you might overwrite your HDD so be careful, I am not responsible for what you do...
For me my Phone said, the micro SD is empty or has a wrong FIlesystem (its ext4) but you shouldnt care, we can mount it anyway...
Now copy the FIle mountscript.sh to the internal SD (the FIle is in this Posts Attachements)
Next open up a Terminal and type in:
Code:
cat /proc/partitions
You should get a list of all your Partitions, if you followed my Way, the last one should be your micro SD (look at the size) and called like mmcblk1p1
If you followed the Second Way, you dont need this Step...
Now type in the Terminal:
Code:
busybox sh /mnt/sdcard/mountscript.sh
the busybox in the beginning seemed required for me because our busybox is kinda strange...
You will be guide through a little setup, I hope it is selfexplaining...
When the script ran through successfully your terminal should look like [[email protected] /]#
In the next Post I will guide you through the Setup of the VNC Server
Any questions or something doesnt work? Just tell me
//Robert
Post reserved for VNC Tutorial
You can start by grabbing yourself this App...
Guess I forgot something
Added the mountscript as Attachemenet
did anybody try?
//Robert
this should fix network issues:
https://blog.tuinslak.org/socket-permission-denied
Hai Robbilie, After install with Ubuntu PC & turn off pc & All seem ok & at phone till [[email protected] /]# & open installed VNCwith name DLKS & 192.168.0.9 & port 5900 but cant handshake & also try many similar VNC still the same. Unlike our PC where on>boot>desktop shown & can play ? Pls advice. Thks.
i advice tiger vnc, but the console tells you the vnc server started?
btw its only 5900 when its on display 0 when its on display 1 its 5901 and so on...
the used display is shown in the console...
are you running the vnc from root?
How to run vnc from root? i only start separately,pls advice.Thks
if you have a vnc server installed in the chroot environment you need to run
vncserver -geometry 888x540
this is just to fit the phones resolution
I'm following your instructions for this. They are well written but I can't figure out the part about ssh and sshfs. What do you do for that step?
Is there seriously not an easier way such as opening the vdi image with some program and copying and pasting the files to my Windows desktop and then using something like IMGBurn to create an iso file and then convert it to an img file?
Ubuntu ?
Hello
I just see this old news when i would like to install Linux Mobile , any news about or link ?
http://www.firstpost.com/topic/prod...otorola-razr-i-video-9n_E6aapPSo-51417-1.html
Thanks
EDIT : http://sourceforge.net/projects/mpsdk/
hi experts i hope you are fine i have little problem with my PC. truthfully i used to change operating system on my laptop like 3 time and not long ago my operating system corrupted (windows8) when i tried to install another operating system it wont boot. actually i cant see a hard drive when it comes to install operating system . tried to change the harddrive but nothing, i did a little research about secure boot in BIOS but when i go to bios i dont see any secure boot wich prevent operating system to install
samsung laptop core i5
Have you tried booting from a USB drive with Portable Windows loaded onto it?
Try that ^^^
Also, a Linux LiveCD to see if that sees your hard drive
Also, try plugging in a RAW hard drive (without formating, or any file system), W8 hates MBR and wants you to use GPT partition style. Also, if you have no idea what all of that means, bring it to a pro.