LinuxQuestions.org
Review your favorite Linux distribution.
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 10-27-2007, 11:14 AM   #1
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Rep: Reputation: 15
boot from winxp cd...edit grub?


Here's some info about my computer before I begin:

Processor: Intel Celeron CPU 2.00GHz
RAM: 0.5 GB

Hard Drive size:

rootfs 5.9G / (i think this is linux)
/dev/hda5 26G /mnt/dos (another partition to store files on)
/dev/hda1 26G /mnt/winxp
/dev/hda9 11G /mnt/hda9 (not sure what this is...)

I'm Dual booting with Windows XP SP2

Disto: Freespire 2.0.0
kernal version: 2.6.20-16-lowlatency

So as you can see, I'm Dual-booting with WinXP SP2. I was working on windows when my printer started acting weird (It wouldn't print). Anyways I restarted my computer and to my shock Windows wouldn't start, got the error: load need DLLs for Kernel
Anyways, I decided to try and boot from my windows XP cd to go repair windows. But here comes my actual problem
I put in the cd and I press "any key" and then my sceen goes blank.
I waited for about 20 minutes to see if anything would come, but nothing...

I wanted to know if and how I can add "boot from cd" function to grub.

I have CD-ROM in first and second choice in BIOS.

If anyone has any other suggestions as to solve the windows problem then please say them. I'm open to any ideas except reformatting any HD (really don't want to do that).

I'm just glad I could get into linux and use the internet for help...

~TimberWolf90~
 
Old 10-27-2007, 12:06 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
If memory serves you can't actually use the CD from grub. I've read a few things about people trying it, but I've not seen any successes yet.

Regards,

Alunduil
 
Old 10-27-2007, 12:48 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I put in the cd and I press "any key" and then my sceen goes blank.
I suggest you make backups of personal files (linux and windows if you can access windows files from linux) now.

Then try cold-booting from your windows rescue CD - insert CD, power-down computer, turn on computer. You have already set the BIOS to boot from CD first, and HDD second, I hope.

You'll need a "live distro" (kubuntu, ubuntu, knoppix, whatever) to rescue your linux installation after windows rescue has destroyed grub, which it will do
Good luck.
 
Old 10-27-2007, 12:56 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Freespire uses a gfxmenu which can be disabled by pressing the "Esc" key to see the boot menu in text mode.

In text mode pressing the "c" key will drop you into a Grub prompt.

You should be able to boot XP, if it is in a healthy state, by the follwing commands in a Grub prompt
Code:
root (hd0,0)
makeactive
chainloader +1
boot
The standard Grub booting from a hard disk does not have a facility to boot a CD. I think Dos 7.1 packaged with Grub has a driver does that.
 
Old 10-27-2007, 03:11 PM   #5
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
Smile works..kind of

Quote:
Originally Posted by tredegar View Post
I suggest you make backups of personal files (linux and windows if you can access windows files from linux) now.

Then try cold-booting from your windows rescue CD - insert CD, power-down computer, turn on computer. You have already set the BIOS to boot from CD first, and HDD second, I hope.
Well, I first backed up windows and linux.
Then I changed BIOS to first: cd-rom second: hdd third: floppy
I put in WinXP installed cd (I didn't have a "rescue" cd and not sure what that is). I just used the only WinXP cd I had.

Anyways, the pc recognized the cd and booted from it!!! YA!!!
I repaired WinXP and all my files were still there...Double YA!

BUT I still can't print in WinXP...I'm going to look it up on google some more...

I installed (or whatever you call it in Linux) the printer in Linux and it prints fine. So its a windows problem. UGH! Stupid windows. I don't even know why I keep it...

Anyways, thanks for your help!!!
 
Old 10-27-2007, 03:49 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Well, I first backed up windows and linux.
A good move. Better safe than sorry.
Quote:
I didn't have a "rescue" cd and not sure what that is
My apologies, a "rescue" cd, is perhaps a linux term (Boot from the CD, access the files on the broken linux installation, and fix things up. You can do this with linux, but, not I think, windows. I'm no longer good with windows (gave up all hope at win98), but you seem to have it sorted. Good.
Quote:
I installed (or whatever you call it in Linux) the printer in Linux and it prints fine.
Well done It is a refreshing change to read that things are working with linux, but not windows. Usually I hear the opposite, but remember, people do not complain when things are working with linux, although, recently most things do!

I hope you survive a reboot. Saikee says your distro uses a bootloader I know nothing about, but come back here if you have further problems
 
Old 10-27-2007, 04:39 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
tredegar,

Quote:
Saikee says your distro uses a bootloader I know nothing about
Freespire uses Grub just like
  • OpenSuse
  • Mepis
  • Frugalware
  • Sidux
  • Kanotix
  • Yoper
  • DreamLinux
  • eLive
  • Linux Gamer
  • and a few others that I have not come across

They all have gfxmenu (Splashimage) that shows a graphic screen. In such a case by pressing the "Esc" key will force Grub to display the text and thereafter pressing the "c" can get a Grub prompt.

It is my experience that there is no installed PC system in extence that cannot be booted up by a Grub prompt.


Therefore when a user gets a Grub prompt I can show how he/she can boot up the OS manually.

It wasn't another boot loader. It is the same Grub that has been masked by a splashimage.

So no need to worry.

Last edited by saikee; 10-27-2007 at 04:44 PM.
 
Old 10-28-2007, 03:54 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
They all have gfxmenu (Splashimage) that shows a graphic screen.
Thanks for clearing that up.
 
Old 10-28-2007, 04:09 AM   #9
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
Quote:
Originally Posted by timberwolf90 View Post
UGH! Stupid windows. I don't even know why I keep it...
Would have to agree with that !!!!
 
  


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
Edit Grub to boot Windows hiieu Debian 10 05-27-2007 04:41 AM
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 04:34 AM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 12:09 PM
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 02:37 PM

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

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