There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware network networking outlook outlook 2003 outlook express partition password printer problem ram router slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Trying Linux again, but have a question


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
16-Aug-2007, 03:04 PM #1
Trying Linux again, but have a question
I tried installing Linux so that I could dual-boot Vista and Linux awhile ago, but I ran into some problems and ended up just reinstalling Vista again (you might remember my questions awhile back). Now I'm back to using XP because I couldn't stand Vista (though that didn't prompt my wanting to try Linux again), and, like I said, I'm thinking of using Linux again.

Anyway, I wanted to ask questions regarding my problems BEFORE I try installing it again. The first time I tried this, I followed the directions for dual-booting, and entered these lines into /etc/grub.conf :

title Windows Vista
[TAB]root (hd0,0)
[TAB]makeactive
[TAB]chainloader +1

This entered the "Windows Vista" option into the GRUB menu, but it didn't bring me to Windows. It brought me to a diagnostics test menu (installed by Dell, I think, but I might be wrong). Well, I was able to run those tests, but not able to get into Windows. I had to just reformat my HD and reinstall Windows to get back into Vista.

Does anybody know why it did that?

For the record, I'm using the Debian distro (I tried Kubuntu, but it wouldn't recognize my hard drive). I'm also using a Dell Inspiron 1501 laptop. I think I've got the rest of my specs listed on my account profile.
RootbeaR's Avatar
Computer Specs
Distinguished Member with 2,086 posts.
 
Join Date: Dec 2006
Location: Ontario, Canada
Experience: Getting it
17-Aug-2007, 01:01 AM #2
Quote:
Originally Posted by adanedhel728
I tried installing Linux so that I could dual-boot Vista and Linux awhile ago, but I ran into some problems and ended up just reinstalling Vista again (you might remember my questions awhile back). Now I'm back to using XP because I couldn't stand Vista (though that didn't prompt my wanting to try Linux again), and, like I said, I'm thinking of using Linux again.

Anyway, I wanted to ask questions regarding my problems BEFORE I try installing it again. The first time I tried this, I followed the directions for dual-booting, and entered these lines into /etc/grub.conf :

title Windows Vista
[TAB]root (hd0,0)
[TAB]makeactive
[TAB]chainloader +1

This entered the "Windows Vista" option into the GRUB menu, but it didn't bring me to Windows. It brought me to a diagnostics test menu (installed by Dell, I think, but I might be wrong). Well, I was able to run those tests, but not able to get into Windows. I had to just reformat my HD and reinstall Windows to get back into Vista.

Does anybody know why it did that?

For the record, I'm using the Debian distro (I tried Kubuntu, but it wouldn't recognize my hard drive). I'm also using a Dell Inspiron 1501 laptop. I think I've got the rest of my specs listed on my account profile.
It linked to your recovery/repair partition, not the OS installed partition.
Without vista on it, GRUB should detect and list windows as an option.
If the recovery/repair partition is still there, XP may be listed as "Windows 1."
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
17-Aug-2007, 01:10 AM #3
Does that mean that with XP I shouldn't have to edit /etc/grub.conf at all?
RootbeaR's Avatar
Computer Specs
Distinguished Member with 2,086 posts.
 
Join Date: Dec 2006
Location: Ontario, Canada
Experience: Getting it
17-Aug-2007, 01:31 AM #4
I honestly don't know.

I expect grub to be grub, but maybe it makes a difference on the Distro used, version of grub it has.

I used PCLinuxOS. I read the install instructions carefully before attempting the procedure.

It lists, if I remember correctly, 3 modes to boot Linux the default having GUI, then "Windows" which is my factory installed recovery partition, then "Windows1" which is my XPSP2 installed partition.

If you need to start windows in "Safe Mode", boot first to windows, then I get the option to boot into safe mode.

I haven't had to use a command line yet, since end of Feb.

It is now a triple boot system. When I installed DreamLinux, it automatically added itself to the boot menu, no command line needed. When I had tried to add Mepis a few months ago, gave up on it, I would have had to use a CLI to add it to the boot menu.

Edit: When I had tried to install Mepis, PCLinuxOS had not been in its' final release version.
__________________
Registered Linux User #450919

"All hear my warning, never turn your back, or I'll attack...."
The Ripper
Judas Priest

This is my intellectual property. Please do not tamper with it. Or face severe criminal prosecution to the full extent of the Law. (Where would we be today if math formulas and equations were to be copyrighted when first thought of?)

Last edited by RootbeaR : 17-Aug-2007 01:41 AM.
saikee's Avatar
Distinguished Member with 2,515 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
17-Aug-2007, 09:55 AM #5
Every boot loader boots a "partition". If a user knows where the OS is just tells the boot loader to "get on" with it.

It looks like the OP has no idea where his XP is.

The simplest way to find out the partitions details in Linux is to boot up a Live CD, or use any bootable Linux, and type this command at a terminal
Code:
fdisk -l
The partition that holds XP would in ntfs which has a partition type ID 7.

For a hard disk supplied by the computer vendor it is customary for the vendor to load the PC drivers and diagnostic in the first partition. XP is if installed would be in the 2nd partition and would be bootable by Grub commands in grub.conf
Code:
title Windows Vista (dude said try 2nd partition (hd0,1) and remember Grub counts from 0)
root (hd0,1)
makeactive
chainloader +1
__________________
A newbie entered Linux wonderland in Jun 2004, now a converted Linux user - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & & A "Howto" to install and boot 145 systems
Just booting tips A collection of booting tips
Judge told Linux "You are charged of murdering Windoze by stabbing its heart with a weapon, what was it? Linux replied "A Live CD"
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
17-Aug-2007, 10:10 PM #6
Thanks for the help, but I think that once again I'm going to have to give up. I tried installing Debian today and it screwed up my hd so bad that I had to reinstall XP three times just today. Someday when I have a second computer, maybe I'll do it on that, but for now I really don't want to have to keep reinstalling Windows on the only computer I have.
saikee's Avatar
Distinguished Member with 2,515 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
18-Aug-2007, 04:57 AM #7
I really can't understand why people are having so much trouble of installing a Linux.

The best way to go about it is to use a Linux Live CD to partition the hard disk first. One 10Gb partition for the distro and 1Gb for the swap. I would say 85% of the Live CD have the terminal program "cfdisk" which is the one I used for creating 150+ partitions. The partition created in Linux has Type ID 83 immediately recognised by any Linux installer. To change a partition to a swap the Type ID needs to be changed to 82. A ntfs partition has a type ID 7. It all shows up in "cfdisk" and "fdisk".

Any installer during installation can be "instructed" to install Linux in the "specified" partition. That is it.

Any Linux, BSD and Solaris installation never touches a MS system unless the user has no idea where his system resides and allows an installer a free hand to do what it wants.

The only so called "damage" if that can be called is an installation of an OS can overwrite the first sector or MBR for the purpose of booting. Linux by default will dual boot any MS system. If it doesn't it is a minute's job to fix it, to make a MS system boots again on its own or with a Linux.

To reinstall a XP several times is never necessary.

My advice is know where you XP reside first (what is its partition name in Linux?, how to tell it is a XP?), specify the partitions for Linux second and thirdly take a look on the last link of my signature if you have any booting problem.

I may have omit an important message in my last post and that is if a XP is installed in the first disk (from a booting queue) and subsequently booted as the 2nd disk then you need to change the boot disk order on-the-fly with a Linux boot loader. The Section A of my second link in the signature has the details.

Lastly if you boot up a Debian with Grub screen you can press the "c" key to get a Grub prompt. The biggest booting secret is

There in no PC operating system a Grub prompt cannot boot!
__________________
A newbie entered Linux wonderland in Jun 2004, now a converted Linux user - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & & A "Howto" to install and boot 145 systems
Just booting tips A collection of booting tips
Judge told Linux "You are charged of murdering Windoze by stabbing its heart with a weapon, what was it? Linux replied "A Live CD"

Last edited by saikee : 18-Aug-2007 05:04 AM.
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
19-Aug-2007, 03:53 PM #8
Well, I'm not an expert at this, but I've looked at many tutorials and spent many hours researching this, and the simple fact is that what it says in the tutorials doesn't match what's on my screen. LiveCDs don't recognize my hard drive. I tried changing to (hd0,1) and many other combinations and none worked. Debian gave me an error during installation, one that I couldn't get past. Then the computer couldn't find an operating system, and when I tried the repair option in the Windows boot, it said that the hd is damaged and nothing could be recovered. That's just the beginning of the problems. I'm not trying to be argumentative, I'm just saying that what's been told to me doesn't match what's on my screen.
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
19-Aug-2007, 04:52 PM #9
Oh, but I should also mention that I'm planning on redownloading a LiveCD iso and burning it using Nero under XP. The last one I did I had to burn using Roxio, a piss-poor excuse for a burning program in Vista, because Vista has compatibility issues with Nero (which is basically the main reason I switched back to XP, I hate Roxio. I did a "Check disk for errors" run and it found errors, which may be why it won't recognize my hd. I have yet to find out. I guess I'm not giving up that much after all, but I am giving up on non-LiveCD versions.
saikee's Avatar
Distinguished Member with 2,515 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
19-Aug-2007, 07:09 PM #10
People can say what they like but the terminal command (with root privilege, either prefixed with sudo or su)
Code:
fdisk -l
will show up every partition of every disk you have got in the PC at "hardware" level. That means you have put a brand new unformatted raw hard disk it will be reported there even though the disk cannot be mounted because there is no filing system and unformatted.

So don't say your hard disk cannot be recognised if you can install system into it.

If you have any problem with the hard disk the above command will also reports it. If you can see the hard disk from the "fdisk -l" output but with no error message then the disk is healthy and will accept any OS installation.

As a matter of fact when you have a Grub screen, showing booting choices, pressing "c" key will drop you into a Grub prompt. The Grub command
Code:
geometry (hd0)
will report the partitions in the 1st bootable disk. This is the 2nd opinion you can get from your hard disk. If Grub can sees it then your systems can be booted!
__________________
A newbie entered Linux wonderland in Jun 2004, now a converted Linux user - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & & A "Howto" to install and boot 145 systems
Just booting tips A collection of booting tips
Judge told Linux "You are charged of murdering Windoze by stabbing its heart with a weapon, what was it? Linux replied "A Live CD"
adanedhel728's Avatar
Computer Specs
Senior Member with 158 posts.
 
Join Date: Apr 2007
Experience: Intermediate
19-Aug-2007, 09:15 PM #11
When I said it wouldn't recognize my hd, I meant that when I try to install, my hd wouldn't show up in the LiveCD install window.

I now tried SimplyMEPIS, and it's working just fine now. I hadn't tried that before, but my hd showed up just fine in the install window. The GRUB screen looks completely different, but I don't know why. (I'm sure many people here do, though. As you can see, I'm completely new to all of this.)

Now I'm getting used to it, trying to figure out how to configure it, and about to go to Dell.com to get drivers (for some reason I need drivers for a lot of stuff-- including sound, in ANY OS, not just Linux).

Thanks for the help.
saikee's Avatar
Distinguished Member with 2,515 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
20-Aug-2007, 02:15 PM #12
The few terminal commands are the important tips for you to know your hardware. I have to repeat them constantly so do try to use it.

Grub screen in Mepis (also OpenSuse, Sidux and a few odd ones) uses "gfxmenu" which is a customised screen loaded in /boot/grub/menu.lst. It can be disabled by prefixing a "#" in front of the line.

The gfxmenu looks cool but it has a big disadvantage of not able to let you drop into a Grub prompt which is the most powerful booting weapon in the business.

I have never found a PC system that cannot be booted by a Grub prompt. The lines you see in /boot/grub/menu.lst are commands you can execute in a Grub prompt! Therefore you can boot any system manually in a Grub prompt just by following the commands in menu.lst plus a "boot" command to serve as the green light for Grub to fire up the system.
__________________
A newbie entered Linux wonderland in Jun 2004, now a converted Linux user - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & & A "Howto" to install and boot 145 systems
Just booting tips A collection of booting tips
Judge told Linux "You are charged of murdering Windoze by stabbing its heart with a weapon, what was it? Linux replied "A Live CD"
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:30 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.