> I've had my Intel Mac Mini booting using grub off of a usb drive 
> selected from refit for some time. I did this without any alteration of 
> the internal OS X disk.
>
> I wanted to upgrade to a larger usb disk and have dd'd a duplicate onto 
> a larger usb disk. I used grub to setup the new usb disk bootloader with
>
> root (hd0,0)
> setup (hd0)
>
> from grub. grub shows hd0 as the only hard drive, and confirms that 
> (hd0,0) is the proper ext2 filesystem.
>
> When I go to boot through refit and select the new usb drive, it never 
> gets as far as a grub message. I get a "no bootable device insert boot 
> disk and press any key".
>
> There is nothing wrong with /boot on the first partition of the new usb 
> disk. I can get refit to boot off a cdrom and use grub from there to 
> boot the new usb drive.
>
> I really can't remember what I did differently to get this to work with 
> the old usb drive.
>
> Ideas?
>   
I guess you could use "dd" this way, but I'm not sure you can then use 
the remaining space on your new harddisk without a hassle. That's one of 
the reasons why there are special "ghosting" programs. I could be wrong, 
however, and "dd" will be just fine:

Anyway, this is what I'd try:

- attach both harddrives to the Mini
- install rEfit on the new harddrive
- repartition the new harddrive
- make filesystems to the new partitions
- boot to Knoppix or some other Live-CD/DVD distro
- mount the drives
- do a "cd /your/old/root;cp -a * /your/new/root/"
- create a chroot mountpoint to the /your/new/root/chroot
- chroot /your/new/root/chroot
- run grub-install

That's it. Simple, eh... Of course if the problem is not cause by "dd", 
then this won't help, and is a bit complicated. But I've restored my 
Macbook's OS (Debian) this way when I had a messed up partition table, 
so I know it works.

Hope this helps,

Samuli

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to