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 04-29-2003, 07:12 PM   #1
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Rep: Reputation: 15
Booting Mandrake from CD??


Can someone tell me how to boot Mandrake 9.1 from CD? Whenever I try to use the install disks, it just tries to install and then I have to do funky things to get out of it before it overwrites everything.

I can't figure out how to boot into Linux to save my life. (Lilo isn't working, and I need to get into linux to check some of the configs and see if I can get lilo working again.) doh

Thanks!
 
Old 04-29-2003, 08:06 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
At the initial prompt where you type "Enter" instead press F1. From there type:
rescue

And hit enter. It will enter rescue mode, from there you'll have very limited, but some use of your system.

cool
 
Old 04-29-2003, 08:57 PM   #3
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
At the initial prompt where you type "Enter" instead press F1. From there type:
rescue

And hit enter. It will enter rescue mode, from there you'll have very limited, but some use of your system.

cool
I thought rescue mode was a way of repairing files. But maybe I'm too much in "windows" mode? I assumed it would overwrite files, or what not. I tried going through that way and seeing if I could just boot up, but it never occurred to me to go into rescue mode. Is it like safe mode in Windows?

thanks!
 
Old 04-29-2003, 09:01 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sorta...

It's more like rescue mode in Linux though

You get a command prompt, and a text editor and a reader. I don't remember for sure if you have to execute with full path to get other things working, however, it would make sense.

No, it doesn't overwrite files exactly, but rather gives you a chance at fixing your box without reinstalling; so yes you "can" overwrite files, but it doesn't by default.

Cool
 
Old 04-30-2003, 02:28 PM   #5
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Shoot.. when I go in through rescue mode, the lilo.conf file is not present in the /etc./ directory. Is it possible that because it's such a limited mode I cannot see it there? Or should that be unaffected?

If it's not present, what do I do? I tried to "reinstall the linux bootloader" from the rescue menu, and it gave me an error 14 and closed - whatever that is! ugh!

I don't want to be able to access Windows and not linux! I'd rather have it the other way around if I can get both working! *runs around in circles screaming*
 
Old 04-30-2003, 02:29 PM   #6
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Okay, so maybe I'm not so "gracefully" fighting anything today.. lol
 
Old 04-30-2003, 04:29 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It's probably because it's mounting your disk elsewhere, if at all.

You should still have limited tools in /sbin, check. If you have mount available, see where your partitions are being mounted with:
mount

If you don't just move around the filesystem looking for your hd. Look in /tmp and in /mnt

If it's in nither, try mounting it:
mount -t ext3 /dev/hdx /mnt/hdx

Make the mount points:
mkdir /mnt/hdx
Replace hdx with your partition. Also, change ext3 to the filesystem that your partition was formatted as, maybe ext2 or ReiserFS

Cool
 
Old 04-30-2003, 04:53 PM   #8
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
It's probably because it's mounting your disk elsewhere, if at all.

Replace hdx with your partition. Also, change ext3 to the filesystem that your partition was formatted as, maybe ext2 or ReiserFS

Cool
You know, I think I remember when I installed Mandrake that it mounted something in /boot? I do know that I made partitions like this:

1) NTFS (Windows XP) C:
2) ext 3 (Mandrake Linux)
3) swap (Linux Swap)
4) FAT32 (shared Space for both OS)

Should I not have used ext3 for Linux? Could that be the problem? I also remember that partition 4 was the one mounted in /boot.. if that helps at all?
 
Old 04-30-2003, 09:26 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64


/boot is where your kernel information is kept. You shouldn't need to tinker with that too much, ever.

ext3 is fine, that's what I use. It works great for system recovery when you have to hard reboot, or your power goes out.

As for your drive being mounted at /boot, not likely. Check around /mnt or /tmp

You also have the ability to find I believe, so try that:
find / lilo.conf

And it will search the filesystem for that file. If nothing is returned, then you know at least that your drive (at least the one containing your /etc directory) isn't mounted, so then you can mount it:
mount -t ext3 /dev/hdx /mnt/temphd (or whatever mount point you'd like).

Recovery can sometimes be tedious, all the more reason to not let your system get to that point

Cool
 
Old 05-01-2003, 09:13 AM   #10
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC


<snip> isn't mounted, so then you can mount it:
mount -t ext3 /dev/hdx /mnt/temphd (or whatever mount point you'd like).

Cool
Hrmm.. you've mentioned mounting twice now, and I'm trying to understand about it. I know that if you don't "mount" the drives, that you can't access them at all, right? So essentially, what you're saying is, that if the hd isn't mounted thant he lilo.conf file would be inaccessible and not show up. But wouldn't that mean that the /etc/ directory would be entirely empty then? It had a lot of stuff in it.. just not lilo.conf. Or am I missing a distinction about mounting that my windows-crippled mind isn't yet grasping?
 
Old 05-01-2003, 09:17 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
In rescue mode, Mandrake will create it's own, temporary filesystem that is very sleek. It may be creating it's own /etc with files in it to sustain a "rescue" mode.

You are correct, unless you mount a partition you cannot access the files and directories on it. You must mount it, but where is up to you. A mount point is nothing more than a directory, usually empty. So either create one:
mkdir /mnt/something

Or mount it up on an empty one.

HTH

Cool
 
Old 05-01-2003, 09:32 AM   #12
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Well, I was able to use the mount command, but not find. The mount command gave me the following information, which, admittedly, doesn't make much sense to me. It doesn't look like I'm used to seeing mount points defined.

btw - mount wasn't in /sbin, but it worked anyways. *shrug* Go figure.

Mount Results:

/dev/ram3 on / type ext2 (rw)
none on /proc type prco (ro)

That's all it gave. Does that help us figure this out any better?

I'm beginning to wonder if I should reinstall again.. *boggle*
 
Old 05-01-2003, 09:39 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
No, no no, reinstalling is for when you are no longer interested in recovery. Recovery is a great tool to learning your system; you just don't want to do it all the time

So it looks like your drive isn't mounted, use fdisk to find it:
fdisk -l

If it returns command not found, try searching for it, or "whereis"
whereis fdisk

Hopefully something will return. If so, locate the drive that contains the root partition. If you have multiple linux drives, mount them all. Here's an example on how:
mkdir /mnt/base
mount -t ext3 /dev/hdx /mnt/base
This will be where your root partition is, then assuming you have a /usr:
mount -t ext3 /dev/hdx /mnt/base/usr
And it *should* then mount the partition at /usr (inside the /mnt/base).

At that point, you should have your full system located at:
/mnt/base
And then you can access/edit files in /etc

HTH

Cool
 
Old 05-01-2003, 10:01 AM   #14
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
Hopefully something will return. If so, locate the drive that contains the root partition. If you have multiple linux drives, mount them all. Here's an example on how:
mkdir /mnt/base
mount -t ext3 /dev/hdx /mnt/base
This will be where your root partition is, then assuming you have a /usr:
mount -t ext3 /dev/hdx /mnt/base/usr
And it *should* then mount the partition at /usr (inside the /mnt/base).

At that point, you should have your full system located at:
/mnt/base
And then you can access/edit files in /etc

HTH

Cool
Okay, so I'm mounting each drive twice? Once into the /mnt/base directory and once in the /mnt/base/usr directory? What does that accomplish? (Not trying to be obtuse, just trying to understand *why* I'm doing stuff, so it helps me remember *what* to do when it happens again.)

Also, I have a linux drive, a linux swap and a FAT32. (The NTFS won't mount under linux, correct? So I don't need to worry about it?)
 
Old 05-01-2003, 08:13 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Ok, so if you have 1 linux partition then don't worry about the second part of my reply. That's only if you use seperate partitions for seperate directories on your linux setup.

So it's just a single mount:
mount -t ext3 /dev/hdc3 /mnt/base

Assuming your partition is /dev/hdc3 (which you will find out from fdisk -l )

Cool
 
  


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
dual booting fedora core 2 and mandrake: can't boot mandrake any more mgyamada Fedora 1 10-04-2004 08:39 AM
Mandrake 10 CD not booting? xanas3712 Linux - Newbie 5 04-29-2004 03:52 PM
Mandrake 10.0 CD not booting Riley Mandriva 6 03-15-2004 10:27 PM
Booting Mandrake 9.2 RND Mandriva 0 02-16-2004 10:56 PM
Re booting Mandrake 9.1 Maurice Arthur Linux - Software 9 11-13-2003 07:32 PM


All times are GMT -5. The time now is 10:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration