Help - Search - Members - Calendar
Full Version: bad linux!
InsanelyMac Forum > Discuss and Learn > *nix
alloutmacstoday
i had linux on hd, with anouther partition, so i booted up off of mac install dvds, reformated 2 disks (which were the linux ones) to dos, and now i ahve three partitions, 1 348.8 mb one, one 7.3 gb one, and a 48 gb one. i trid using bootcamp, but it didn't work. any help!!

also, when i do refit, it still says that there's a linux to boot up in
postaldave
grub or lilo?

grub is like a permenant marker, hard to erase.
if you have a win98 floppy laying around try fdisk/MBR and that will get rid of the linux bootloader.




QUOTE (AllOutMacsToday @ Feb 27 2007, 09:44 PM) *
i had linux on hd, with anouther partition, so i booted up off of mac install dvds, reformated 2 disks (which were the linux ones) to dos, and now i ahve three partitions, 1 348.8 mb one, one 7.3 gb one, and a 48 gb one. i trid using bootcamp, but it didn't work. any help!!

also, when i do refit, it still says that there's a linux to boot up in
asap18
Do you still want linux or not?
Rez.
If you've installed Grub to the MBR then reformatting your Linux partition will not get rid of Grub. Even if you do still want to reinstall Linux I would do fix the MBR with your XP Install disk in recovery mode and start fresh.
Alessandro17
Boot from XP installation CD: Recovery Console: fixmbr

Instead of allowing Linux to overwrite your MBR, install GRUB or LILO on the root (/) partition and use Acronis OS Selector.

Edit: I see now that you have a MacBook, so the above might not apply to you.
alloutmacstoday
QUOTE (asap18 @ Feb 27 2007, 05:06 PM) *
Do you still want linux or not?


no, i don't

if i fix my mbr, will i have to reinstall mac on my macbook, or will bootcamp get rid of the partition?

QUOTE (Alessandro17 @ Feb 27 2007, 07:10 PM) *
Boot from XP installation CD: Recovery Console: fixmbr

Instead of allowing Linux to overwrite your MBR, install GRUB or LILO on the root (/) partition and use Acronis OS Selector.


it' s mac, justso you know, and to the second part. What??????
asap18
MBR is on a special part of the disk kind of like the EFI parttion although MBR is not visible. Next time install grub on the partition ie. dev/sda3 and not /dev/sda.

I don't think you need to install if you boot off a windows xp disk. then go to a recover console and type fixmbr.
alloutmacstoday
trying now...
Alessandro17
QUOTE (AllOutMacsToday @ Feb 28 2007, 02:17 AM) *
it' s mac, justso you know, and to the second part. What??????


Yes, I just realized it. But you didn't mention it in your first post.
alloutmacstoday
it's in my sig, but when i press f2 to go to the restore thing, it says "insert the restore floppy disk"

did i hit the wrong thing. is there another way to fix my mbr?
asap18
no wait till it stops on that blue screen asking you to install. Youll see some options there. I thinks its the second one. Its "recovery console".


So just wait till it loads all the drivers and gives you a screen to choose what you want to do. Pick the recovery option.
alloutmacstoday
thanks, i try now
alloutmacstoday
every time i boot off of the cd, there is recovery console, but everytime i do it, it says i need to insert floppy disks
asap18


when you get to this screen press R do NOT press ENTER.
alloutmacstoday
i never got this

i just got a screen that said setup and showed my disks partitions
johnniecarcinogen
opensuse uses grub 2.0 which boots xfs and supports efi.
alloutmacstoday
QUOTE (johnniecarcinogen @ Feb 28 2007, 03:05 AM) *
opensuse uses grub 2.0 which boots xfs and supports efi.


sooooo, what are you saying i should do?
asap18
Theres no way you didnt get this screen, boot off the cd and DONT push anything until you get to this screen,
alloutmacstoday
does it have that on the upgrade disk, or student learning disk, cause that's what i think i have
Colonel
QUOTE (AllOutMacsToday @ Feb 28 2007, 10:10 AM) *
does it have that on the upgrade disk, or student learning disk, cause that's what i think i have

Did you obtain your install CD from BitTorrent? wink.gif
asap18
try getting a real one like a "corporate" one.
alloutmacstoday
ok, got it. did a fixmbr. now what?
asap18
well is grub off your machine and does refit still give you a linux choice.
alloutmacstoday
no linux choice, but how do i get rid of the partitions?
alloutmacstoday
rEFIt gives me a bootcamp option and a mac option, but bootcamp wont restore to one vol., and i still have the 358 mb partition
asap18
does it really matter?

if it is after all the other partitions a resize may be possible?
alloutmacstoday
how do you resize. can't you do it through terminal. resize partition /?
asap18
itdb be like diskutil resizeVolume 60G

but it will only work if you delete the 358 mb partition AND it is after all the other partitions.
alloutmacstoday
can you delete a partition through terminal?

EDIT: i still have three partitions
asap18
it might just be easier at this point to reinstall if you don't know much about unix, otherwise you can royally screw your machine up to where you will have to reinstall anyway.
alloutmacstoday
good idea
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.