Results 1 to 4 of 4
I am very new to UBUNTU, but I am starting to get the basics. I will try to make this brief, but detailed enough to make sense.
I original had ...
- 04-01-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- Virginia Beach, Va
- Posts
- 2
Grub Help
I am very new to UBUNTU, but I am starting to get the basics. I will try to make this brief, but detailed enough to make sense.
I original had OSx86 (Hackintosh) running on one of my harddrives in my machine. I then purchased another hard drive and proceeded to install Ubuntu on it. The problem now is that somehow Grub and Ubuntu got onto the the Hackintosh hard drive. (I assume through my own stupidity during the installation).
I am not the one that installed the Hackintosh system and I would prefer not to have to reinstall it. I have determined a couple of things.
1.) When I boot to the second drive (Ubuntu drive), Grub boots to hd0,5 in order to access the Ubuntu Partition.
2.)While in the Ubuntu OS on hd0,5... I can see all of the OSx86 folders (in the primary hard drive) that are supposed to be there, so I don't think that Ubuntu deleted the OSx86 when I installed. I can not edit any of these.
3.) I have tried editting the Grub Bootloader, but I am not sure where OSx86 exists.
My attempt below.
title OSX.
root (hd1,#) I tried a bunch of numbers and got a bunch of different errors
makeactive
chainloader +1
4.)When I boot to primary hard drive (Hackintosh) a different Ubuntu comes up (i.e. not the same ubuntu partition as on the second hard drive). This must mean that Ubuntu not only installed on the second partition, but the primary as well, even tho i dont think I did this during the partioning stage of Ubuntu installation.
Is there a command that will tell me the list of partitions in the form that grub reads them (i.e. hd#,#), so that I know what happened to my hackintosh partition.
I would really like to avoid reloading Hackintosh like the plague just because I am not sure what he did to get all of the drivers working perfectly. Thanks for any help.Last edited by ajhunte; 04-01-2009 at 02:53 AM. Reason: Clarification
- 04-01-2009 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
sudo grub (gives you grub prompt: grub>)Is there a command that will tell me the list of partitions in the form that grub reads them
geometry (hd0)
geometry (hd1)
You could use command: sudo fdisk -l to get partition information also.
- 04-11-2009 #3Just Joined!
- Join Date
- Apr 2009
- Location
- Virginia Beach, Va
- Posts
- 2
Ok... I have determined that my mac partition must be hd(1,0or1) according to grub. the problem is that when I try to boot to either of these I get one of the following two messages:
Starting up...
boot1: error
Starting up...
Non-system disk error
Press any key to reboot
(if I press any key "GRUB" shows up and then nothing happens and I can't type)
Any ideas?
- 04-12-2009 #4Just Joined!
- Join Date
- Jun 2008
- Posts
- 9
Let us know your partition tables:
# Invoke parted for the USB device, e.g. parted /dev/sdu
# Display the current partition layout with print, which produces an output similar to:
Disk /dev/sdu: 4151MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
mber Start End Size Type File system Flags
1 16,4kB 4150MB 4150MB primary fat32 boot
Further, GRUB can help
Try this:
grub> find /boot/grub/stage1
If this file is present somewhere on your disks, grub will find it. Then you know what disk to configure.


Reply With Quote