LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2006, 08:20 PM   #1
webinsek
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
Cool making lilo bootable disk


Hi guyz! i have a dual boot, the microsuck windows xp and slackware 10.2 which i installed the lilo in MBR. now i have a problem with my microsuck windows xp. it prompts for a password althoughh i didnt make one so i need to reinstall it again. how can i make a lilo bootable disk so that i can boot my slackware again after installation of xp?

additional question: can i reinstall again the LILO in MBR after xp installation?

Thanks and Good day to everyone..
 
Old 03-29-2006, 09:22 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
Code:
dd if=/dev/hd? count=1 bs=512 of=/dev/fd0
Where "?" is where the location of lilo now.....superblock, or MBR of your first disk.
 
Old 03-30-2006, 04:24 AM   #3
webinsek
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
thanks PenguinPwrdBox.. it worked.. i have a follow up question:

when i try to mount the fd0 (bootable disk I created) using mount /dev/fd0 /mnt/floppy, it asks for a filesystem type so i tried ext3 and even ext2 but it doesnt work.. what filesystem should i put for -t? thanks... ^_^

Last edited by webinsek; 03-30-2006 at 04:33 AM.
 
Old 04-03-2006, 09:59 PM   #4
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You can't mount that, because it isn't a file system. It's the first 512 bytes of your superblock, or MBR, that contain the bootable sector of your OS. Think of it like an executable...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making a bootable install disk from a downloaded iso Draylath Linux - Newbie 7 08-14-2004 03:54 PM
making a non bootable patrion bootable jason2 Linux - General 6 08-01-2004 10:25 AM
Making a bootable rescue-disk/mini-distro CD with LFS? dushkinup Linux From Scratch 5 04-15-2004 03:06 PM
Making a bootable floppy disk SMB3Master General 4 10-26-2003 06:25 AM
making a bootable disk udayan Programming 2 07-15-2002 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration