LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-21-2013, 12:06 PM   #1
PrayingMantis
LQ Newbie
 
Registered: Nov 2011
Distribution: WindRiver, RedHat
Posts: 17

Rep: Reputation: Disabled
Installing linux from windows


Hello everyone,

I am wondering if there is any way by which I can replace Windows XP (which I am presently using) by linux (ubuntu). What I have is an external HDD, on which I do not want to create any partitions or install grub on it.

What I was thinking is as follows:
1) I want to find a way to install grub from within windows. Once I reboot my PC, I should see the grub prompt.
2) Once I have the grub prompt, I can set the root to my external HDD, from where I can get the kernel, initrd and rootfs.
3) After I have booted linux, I can then partition my internal hard disk and copy the initrd and kernel to appropriate locations, and configure grub accordingly so that I do not have to use an external HDD anymore.

Is this possible?

I do not want to boot my PC using my external HDD, which would require making linux partitions on it or installing grub on it.

Thanks,
Mantis

Last edited by PrayingMantis; 07-21-2013 at 12:07 PM.
 
Old 07-21-2013, 01:50 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,242

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
Quote:
1) I want to find a way to install grub from within windows. Once I reboot my PC, I should see the grub prompt.
why
seeing "GRUB > " on the screen means you have a rather big problem that needs fixing

Quote:
Once I have the grub prompt, I can set the root to my external HDD, from where I can get the kernel, initrd and rootfs.
well once you see "GRUB >"
you need to reinstall the rest of the bootloader

there are a ton of documents on reinstalling the bootloder on Ubuntu
search the ubuntu website

Quote:
After I have booted linux, I can then partition my internal hard disk and copy the initrd and kernel to appropriate locations, and configure grub accordingly so that I do not have to use an external HDD anymore.
?
what ?
can you please restate what exactly it is you want to do
 
Old 07-21-2013, 03:54 PM   #3
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,059

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
Quote:
I want to find a way to install grub from within windows.
Good luck with that. A default installation of windows can't even read a Linux filesystem.

Quote:
Once I have the grub prompt, I can set the root to my external HDD, from where I can get the kernel, initrd and rootfs.
How are you planning to get the kernel, initrd and rootfs on the external hard drive with no partition and presumably no filesystem? Is there anything on the external drive now?

If you intend to get rid of xp, why do you not simply install Ubuntu on the internal. Unless you have some valid, undisclosed reason for trying to do what you describe you are making things unduly complicated.
 
Old 07-21-2013, 04:35 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
If you can boot from a USB drive or a CD/DVD, just put the Ubuntu Live system on the USB of optical drive and boot from it. From that Ubuntu, you can format, reformat, etc. your hard drive(s) and install GRUB2 on either drive.

Just forget using XP for any of that, but you really don't need XP (or any Windoze OS) to get the job done.
 
  


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
Installing Linux over Windows from Windows The_Nerd Linux - Software 3 09-19-2009 02:40 PM
installing windows on dual boot system with fedora linux and windows xp vaishalicoep Linux - Newbie 2 04-23-2009 06:11 AM
installing dual boot (linux and windows)without corrupting windows anirudh.iitm Linux - Newbie 7 06-30-2006 03:16 PM
Installing Windows after installing LINUX brads@kwlink.com Linux - General 4 01-08-2006 11:03 AM


All times are GMT -5. The time now is 07:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration