LinuxQuestions.org
Help answer threads with 0 replies.
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 12-23-2004, 09:18 PM   #1
fatherg
Member
 
Registered: Mar 2004
Posts: 55

Rep: Reputation: 15
Dual booter won't load


I have Slackware 10 and Windows XP dual booted, had to reinstall Windows XP and now I don't get my boot loader it boots straight into Windows, is there a way I can fix this if I use the Slackware 10 installation CD?

Thanks!
 
Old 12-23-2004, 09:24 PM   #2
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
You can boot into linux using the slackware cd.

when the cd boots you get a screen:

boot: _

type

boot: bare.i root=/dev/hd(letter and number that linux root partition is on) noinitrd ro

Should boot into your linux partition. Then depending on which boot loader your using reinstall it.


Kyle
 
Old 12-23-2004, 09:26 PM   #3
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Windows is such an idiot that it wipes out any boot loader other than itself. You can select rescue mode from your linux distro cd, run mkbootdisk $(uname -r), but make sure you have mounted your linux / filesystem, to make a bootdisk. After that, boot from the boot disk, and when you get into linux, reinstall lilo or grub.
 
Old 01-09-2005, 08:09 PM   #4
fatherg
Member
 
Registered: Mar 2004
Posts: 55

Original Poster
Rep: Reputation: 15
I don't know which /dev/hd* is my linux partition. I tried a few but none worked, either write protected or wrong fs. how do I find this out from windows?
 
Old 01-09-2005, 10:23 PM   #5
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
boot with your slack cd, at the prompt, log in as root, and type fdisk /dev/hda...once there, hit p and it will list your partitions....if you only have slack installed, look for which hda# is listed next to "/", then restart, and boot to that partition
 
Old 01-11-2005, 12:20 AM   #6
fatherg
Member
 
Registered: Mar 2004
Posts: 55

Original Poster
Rep: Reputation: 15
alright I've managed to log in as root on my console. Next I run liloconfig. I go thru expert mode and at the end it says it's installing, but it dumps me back into a console. I reboot and it goes straight into windows still. What do I do?
 
Old 01-13-2005, 03:09 PM   #7
fatherg
Member
 
Registered: Mar 2004
Posts: 55

Original Poster
Rep: Reputation: 15
Okay, so when I was installing lilo over and over again for about 30 minutes I decided to try writing to my master boot record, it did warn me not to. So I've at this point seriously fucked up my computer. lol

I've reinstalled linux a couple of times now and it doesn't boot. Infact my machine doesn't boot into anything. The screen looks sorta like this:

99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99

99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99

99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99

I can however boot into my fresh linux install using 'bare.i root=/dev/hdd2 noinitrd ro' if I boot from CD. The only problem is that I was never prompted to setup a password for root, or to setup a username and password for my own acct during installation. So I get my login prompt, but I can't log in. Anybody know the best way to unfukc this without losing anything on my windows partition? I just want to back up some files from windows to linux before I nuke my windows partition and start over.

Last edited by fatherg; 01-13-2005 at 03:12 PM.
 
Old 01-13-2005, 03:13 PM   #8
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
the 99s are a LILO boot error code...boot into slack, and install LILO again...that should fix it for ya
 
Old 01-14-2005, 10:57 PM   #9
fatherg
Member
 
Registered: Mar 2004
Posts: 55

Original Poster
Rep: Reputation: 15
So um... being unable to log-in to my own box, how do I install lilo on it? I get a prompt, but I don't have a password for root... Can I use fdisk to setup a bootable partition for linux and just reinstall? If so how do I go about this procedure. Sorry if I'm getting annoying, but I have some files I really need access to which are on my windows partition, which also won't boot.
 
Old 01-27-2005, 07:01 AM   #10
davips
LQ Newbie
 
Registered: Jan 2005
Location: Brazil
Distribution: [K]Ubuntu (ex slackware)
Posts: 3

Rep: Reputation: 0
explore2fs

Hi, may be the software explore2fs solves your problem on indentifying partitions and tranfering important files from linux to windows.
Unfortunately, your windows isn't working now to do that,
but you can remake the win-boot with "format /mbr" (or "fdisk /mbr"?) after booting from a windows floppy rescue disk.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HELP: Lost Grub Linux Booter kevingpo Linux - General 6 11-27-2005 04:43 AM
Can't reinstall Linux booter because of error Cinematography Linux - Software 5 05-02-2005 02:29 AM
Simple Floppy Booter mhelliwell Linux - Newbie 11 03-24-2005 09:36 AM
PLEASE HELP. I ruined windows booter while fixing GRUB Frelov Linux - Newbie 3 03-12-2005 09:05 AM
Lilo Booter proboarder_33 Linux - Newbie 1 09-09-2003 12:57 PM

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

All times are GMT -5. The time now is 09:40 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