LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-19-2004, 10:38 AM   #1
linux_ub
Member
 
Registered: May 2004
Location: NY
Distribution: fedora core 1
Posts: 65

Rep: Reputation: 18
help with boot loader


hi

i had a dual boot machine ... win xp and fedora core 1
i had installed windows first and then linux....
my windows got corrupted (nothing new) and i re installed the os... now i cant access linux at all ... it does not give me an option to boot to linux.
will i need to re-install linux.

thanks
 
Old 06-19-2004, 11:05 AM   #2
jmorse
Member
 
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
Your distribution should come with a recovery cd which allows you to do that, it is a fairly common problem.

A 'manual' way of fixing the problem is to use a boot cd/floppy to access the hard disk and reinstall the boot manager.

[ Very quick: Download and write HAL91 to a floppy, reboot. At the prompt, mount your root partition into /mnt, also mount proc 'mount proc /mnt/proc -t proc', chroot yourself in. 'chroot /mnt /bin/bash --login', then re install lilo 'lilo', or if you used grub 'grub-install /dev/hda1' [or whatever your boot partition is. Logout of the chroot, unmount /mnt/proc, then /mnt, run 'sync' and type 'halt'.]
 
Old 06-19-2004, 11:58 AM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
jmorse,
What does the command sync do?
 
Old 06-19-2004, 12:01 PM   #4
jmorse
Member
 
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
'sync' writes anything in the disk buffers to disk. I had problems with HAL91 not unmounting disks and closing files etc when I shut it down, so I made a habit of running 'sync' before shutting down any computer.

It is probably completely unneccessary.

Just another ingrained habit!
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

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

All times are GMT -5. The time now is 09:19 PM.

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