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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-23-2004, 09:18 PM
|
#1
|
Member
Registered: Mar 2004
Posts: 55
Rep:
|
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!
|
|
|
12-23-2004, 09:24 PM
|
#2
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107
Rep:
|
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
|
|
|
12-23-2004, 09:26 PM
|
#3
|
Member
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202
Rep:
|
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.
|
|
|
01-09-2005, 08:09 PM
|
#4
|
Member
Registered: Mar 2004
Posts: 55
Original Poster
Rep:
|
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?
|
|
|
01-09-2005, 10:23 PM
|
#5
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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
|
|
|
01-11-2005, 12:20 AM
|
#6
|
Member
Registered: Mar 2004
Posts: 55
Original Poster
Rep:
|
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?
|
|
|
01-13-2005, 03:09 PM
|
#7
|
Member
Registered: Mar 2004
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
01-13-2005, 03:13 PM
|
#8
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
the 99s are a LILO boot error code...boot into slack, and install LILO again...that should fix it for ya
|
|
|
01-14-2005, 10:57 PM
|
#9
|
Member
Registered: Mar 2004
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
01-27-2005, 07:01 AM
|
#10
|
LQ Newbie
Registered: Jan 2005
Location: Brazil
Distribution: [K]Ubuntu (ex slackware)
Posts: 3
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|