Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SATA1: Windows XP NTFS
SATA2: NTFS Storage
PATA1: CentOS 4.4 (100MB Boot Partition, the rest is root) LVM / ext3)
While installing CentOS I decided to put GRUB on the primary partition of the PATA drive (or so I thought) and not part of the MBR. I was under the assumption I could go into the boot.ini on the Windows HD and add CentOS as an option at boot time.
My issue is, I cannot figure out the path to put in the boot.ini to point to CentOS. Windows reads the root partion on the PATA drive as "H" and does not recognize the boot partition at all.
Am I able to make CentOS part of the Windows bootloader?
Starting from: "You may choose to let another boot loader handle the install, in which case you will want to:"
Boot from the installation media into rescue mode (linux rescue) answer a few questions and use chroot as instructed on screen to create the file mentioned in the link.
What you can do is copy the boot sector from the primary partition of pata1 to your windows drive (i.e., extract it “dd if=/dev/hda1 of=bootsect bs=512 count=1”, then copy bootsect to your windows partition, then use the bootsect file instead of “multi(…” to describe your linux target in boot.ini).
It would then tell me that it cannot find /dev/hda1. I ran LS in the dev directory - the closest thing I could find was /hdb so i used /hdb1 instead. It told me "1 files out, 0 files in" or something to that sort.
I've added the line to windows bootloader but of course it wouldn't work.
First of all make sure what you extracted is actually the volume boot sector (it should be exactly 512 bytes in size, and the command “file bootsect.lnx” should say “x86 boot sector” or something similar). Now you have to copy it to your windows root partition (i.e., “C:\”). You can do this many ways (floppy, flash drive, direct ntfs write with ntfs-3g, read your ext partition from within windows, email an attachment, etc.). Then reference it in boot.ini by its windows path (e.g., “C:\bootsect.lnx”).
Ok, thats definatly where the issue is (I need to copy the bootsect to the other drives - via removable media.
bootsect.lnx now lies at the root of my linux drive
-ls shows it along with /etc /dev and all of the other folders.
It was copied from /dev/hdb1
Now I'm at the point where I want to copy the file onto a USB drive - however I can't find the usb stick at all. Does it need to be mounted first? (I assume this is where my problem lies.) I'm still rather new so I appologize for all of the questions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.