Jump to content
12 posts in this topic

Recommended Posts

I have Linux Ubuntu 6.1 installed and running beautifully standalone. If I add my Windows Drive to the mix and try to boot Linux by selecting through the BIOS... Crash - /bin/sh. Can't access tty -} initramfs. Unhook Windows drive and beautiful perfect Ubuntu boot. This is Grub I am guessing... I want to keep my OS selection through the BIOS. What edits need to be done??? Thanks all around in advance!

I found fstab and menu.lst. However grub.conf is nowhwere to be found. From what I have read, (linux noob here) It appears that that an appropriate edit of menu.lst will do the trick. There isn't that much there though... Default 0; Timeout 7; etc. Grub seems to be a hunter. Wants to go out and find OS's to boot. I just want to tame it a bit and restrict it to only the drive that Ubuntu is on. As long as it is the only drive on the system, it works great. Hook up OsX86 and Windows and it boots to the Ubuntu bar before failing. What should my menu.lst look like?

But did you have your windows drive disabled through the bios when you installed ubuntu? If so, grub should have added a windows boot option to the menu.lst that grub usess automatically. If not, reinstall grub while your windows drive is activated. "sudo grub-install /dev/sda" (sata).

 

or edit your menu.lst manually:

 

sudo fdisk -l

 

you will see all available partitions and take note which partition your windows ntfs partition is. If it is sda3 that would be 0,2 in grub (0 is the first).

 

then

 

sudo gedit /boot/grub/menu.lst

 

and add:

 

title Windows XP

root (hd0,2)

makeactive

chainloader +1

 

With your correct partition, ofcourse.

Hmmmmm... I intentionally had only one drive on the system when I loaded Ubuntu. I want it isolated to that drive. I have WinXP, OSx86 and Vista each on separate SATA drives. By selecting F11 on startup and arrowing to the desired drive and hitting enter, I boot the OS of choice. I want Linux to do the same. I don't want Grub trolling the system trying to be a Universal Boot Loader. I am a total Noob with Linux but I believe there is a way to edit menu.lst to keep Linux isolated within Linux.

I am a total Noob with Linux but I believe there is a way to edit menu.lst to keep Linux isolated within Linux.

 

I cant understand why ppl always want to screw everything up, hasn't any one ever heard if it aint broke don't fix it. I cant even understand what the problem is, if you have osx86 and vista, I would think you would be using one of those to load your os's, especially if you're new to linux.

Possibly my brain is tracking in a completely different universe here and I just don't get it.... Or I am explaining it so poorly that it is going nowhere. I will try again:

 

I put Windows on a drive. When I start the system I get Windows. Now I put OSx86 on a different drive and add it to the system. If I prioritize Windows in the BIOS, I get Windows. If I prioritize OSX, I get OSX. Now I put Ubuntu on a third drive and add it to the system. If I prioritize Ubuntu in the BIOS and boot, I do not get Ubuntu. ( I get /bin/sh: can't access tty ; job control turned off ) If I unplug everything but Ubuntu, I get Ubuntu. Why is it different? That is the big question.

 

My Motherboard, upon startup, says, "Press F11 for Boot Options." When I do that, I get a list of my drives. Then I just arrow to the one I want to boot and hit enter. It is completely independent of any operating systems attached to the system.

 

I would be thrilled to edit menu.lst or fstab to fix this... I just don't know how to do it.

 

If this needs to be explained to me in another fashion please feel free to educate me. I am very eager to understand :angel:

The menu.lst and the fstab both reflected /dev/sda when Linux was loaded on a stand alone drive. When the drive was added to the array it changed to /dev/sdb. It therefor would not boot. Editing those two files to reflect the /dev/sdb fixed it up pronto. Multiboot Linux Tutorial Posted here. http://forum.insanelymac.com/index.php?s=&...st&p=246276

Joe75 - Sorry about the length. I saw Linux for the 1st time just a week ago if you can believe that. I tend to write my "How To's" in a very detailed remedial fashion. Especially when that is the level that I am on! I appreciate all of the chiming in. That way I at least I know someone is out there helping even if they are rolling their eyes...

×
×
  • Create New...