LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 08-21-2005, 05:03 PM   #1
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Rep: Reputation: 15
Booting LInux AS 4 without boot disk


I had Xp installed on my PC and installed Linux Enterprise AS 4 as well. During the install process I did not see any option to create a boot disk. In earlier versions of linux there were options but maybe its not there in enterprise linux.

The install seems to have been completed correctly, and I did not install the boot loader into the MBR but installed it on the /boot partition so that I can copy the boot file to windows boot.ini and be able to have the boot options from within windows(boot.ini) as opposed to from linux boot loader.

However when i reboot my pc now i don't get the boot options since I could not copy the linux boot sector to windows yet and since I did not get an option to create a boot disk I cannot boot into linux to copy it.

How can I boot into linux with the boot disk and copy the linux boot sector to windows and be able to select my boot options from windows boot.ini?

Also is there a way to create a boot disk once I have booted into linux assuming I am able to do it?

Thanks
 
Old 08-21-2005, 07:22 PM   #2
ebsbel
Member
 
Registered: Jun 2005
Posts: 64

Rep: Reputation: 15
1. The install cd might have an option to get into your system.

2. You can use a live cd such as kanotix to get a command line grub. Suse has this option on their install cd too. Then you can probably just edit one of the commands in the list to say:
title linux
root (hd0,2) #or whatever partition you installed to
chainloader +1

That should get your bootloader up.

I think I did this once with Kanotix, but it may have failed. Don't remember. I know that it works with Suse though.

3. Don't know if this works, but you can try. Start up a live CD, Knoppix for example and chroot into your system. Then you can 'dd .... 512 ...bootsect...' or whatever the command is? It has been a while since I used it. Save it to a floppy or use the windows software explore2fs to find it in your linux partition. Then edit C:\boot.ini.

Good luck!
E

Last edited by ebsbel; 08-21-2005 at 07:27 PM.
 
Old 08-22-2005, 02:03 PM   #3
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
How can I boot from the install CD?

What is live CD? I am new to linux and am not aware of it and how to use it.
 
Old 08-22-2005, 09:02 PM   #4
ebsbel
Member
 
Registered: Jun 2005
Posts: 64

Rep: Reputation: 15
Quote:
How can I boot from the install CD?
Same way as when you installed your system. It may not be possible to boot into your system from the cd though. Try to see if it has some rescue function or if you get a list menu.

Once you get into the system do
dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1

if /dev/hda2 is where your linux system is. Otherwise you need to change it to where the system is installed. Unless you installed your system on reiserfs, most likely it is ext2 or ext3, you can access it from windows with the program explore2fs (google for it). Then you can just copy the file bootsect.lnx over to C:\bootsect.lnx. Then you need to edit boot.ini.

If you are new to linux I suggest you try a live cd. You just put it in your cd drive and start your computer and linux will load automatically, running only in your ram. It won't affect your harddrive at all. You can try Knoppix, Slax or Kanotix and many more. Knoppix is the most famous, but Slax is my personal favorite. It has the most useful programs and a nice desktop in less than 180 MB.
Goto distrowatch.com and check out which distros are most popular. They have links to all downloads.

Just found this:
www.winimage.com/bootpart.htm which is a free software that should be able to do just what you want from windows.
 
  


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
Booting Linux on USB disk? JF1980 General 13 06-28-2005 08:58 AM
booting Ubuntu fro boot disk.. sturla Linux - General 2 05-02-2005 01:59 AM
booting linux from second disk xrado Linux - General 1 02-22-2005 03:29 PM
booting linux from disk-on chip pushpen Linux - Hardware 2 08-08-2004 09:47 AM
Booting to New Kernel using Boot Disk berny8888 Linux - Newbie 1 03-04-2004 05:40 AM


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