Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 07:07
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to erase the MBR for Puppy USB install?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Brian
Guest


PostPosted: Tue 03 Jan 2006, 17:41    Post subject:  How to erase the MBR for Puppy USB install?  

I am trying to install Puppy to a USB stick, but a previous distro I installed to it put a bootloader in the MBR. I've formatted the stick, but the bootloader survived and points to the old distro, preventing my computer fromw booting to puppy. How do I get rid of the MBR bootloader so my computer sees syslinux when booting?
Back to top
ninjabob7
Guest


PostPosted: Tue 03 Jan 2006, 21:06    Post subject:  

If you install Puppy the recommended way, using the script on the live cd, it should automatically install the MBR. To erase it completely, use this command (where /dev/sda is your usb drive):
dd if=/dev/null of=/dev/sda bs=512 count=1
Or maybe /dev/null should be /dev/zero? You might want to wait for someone to confirm that before you try it, since dd can be very dangerous if you use it incorrectly.
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Tue 03 Jan 2006, 21:58    Post subject:  

dd will also delete all the partitioning information in the mbr

in general, to "uninstall" a boot program in the mbr (or any boot sector), you would install a new boot program over the old one
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Tue 03 Jan 2006, 22:59    Post subject:  

I have a similar problem.
First, I try to install puppy 1.0.7 HD Option 2 on my IDE CF disk (with grub install in MBR) but at boot it only shows 99 99 99 ... (notorious grub error) on the screen. Then I try to install using the install USB option. I format the CF with Win XP using FAT, then I do the install USB and when I boot up, I still get the 99 99 99 99 problem. Which mean the puppy install USB doesn't look like erasing the MBR.
Anybody has the same problem? Do we have to make the CF disk bootable before doing the puppy install USB? Since I only have Win XP and Linux, how can I make the cf disk bootable in FAT? I don't have DOS system that I can use to format the CF and my WinXP doesn't even have the fdisk command. The format option in WinXP doesn't have any option to make the CF disk bootable. I try FreeDos, but it doesn't recognize my usb. Any tools in Linux that can make the Fat-16 cf disk bootable?

Thanks
Back to top
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10672
Location: Arizona USA

PostPosted: Tue 03 Jan 2006, 23:18    Post subject:  

Here is a most excellent explanation of the boot process. It explains boot loaders and the MBR clearly and comprehensively.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0391s ][ Queries: 12 (0.0035s) ][ GZIP on ]