Thanks for your reply Scott [?]

My problem is to install a system, Fedora or Centos, on a hard drive. I
have used rsync the data in ext3fs.img to a new hard drive, and find data
is right but I can't boot from the new drive. So I want to know how MBR is
set in livecd-tools.


# If your livecd is built correctly and you have a functioning anaconda
installer on it you can run, it should just automatically install the
bootloader.
You're right, but bootloader is installed correctly but the setting is not
my want (maybe I take some wrong steps).

# If you want to manually install grub2, you can run grub2-install
/dev/{devicename}.  That assumes you have a working grub2 environment.
I'm using this tool and testing now. I think it will solve my problems.

BTW, the script 'livecd-iso-disk' use a 'strange' way to set MBR: cat
mbr.bin > /dev/sda. I'm now sure this way could work. I use the lastest
version script to copy content on /dev/sda, and it boot failed (seems like
finding some usb device?).

Thx



On Thu, May 16, 2013 at 11:30 PM, Scott Dowdle <[email protected]>wrote:

> Greetings,
>
> ----- Original Message -----
> > I'm now trying install a system on a disk, such as /dev/sda, in a
> > livecd environment.
> > I think I could just follow the steps of making a live cd without the
> > package step. It seems work, but I found there is no MBR settings
> > during making a livecd.
> >
> >
> > I also tried the 'iso-to-disk' script onto a disk. It's bootable, but
> > failed when finding a usb device.
> >
> >
> > I'm confused about the progress of setting correct MBR (to a grub, or
> > to a partition). Is there any clear steps to do that?
>
> I'm not really following you.  You have a livecd you are booting from and
> wanting to install it to a hard drive?  That's a typical install scenario.
>  If your livecd is built correctly and you have a functioning anaconda
> installer on it you can run, it should just automatically install the
> bootloader.  I've been building remixes since Fedora 9 or so (currently
> doing F17, F18, and F19) and I haven't had any problems with that.
>
> If you want to manually install grub2, you can run grub2-install
> /dev/{devicename}.  That assumes you have a working grub2 environment.
>
> If I'm nowhere close to answering your questions... please explain a
> little more what the problem is.
>
> TYL,
> --
> Scott Dowdle
> 704 Church Street
> Belgrade, MT 59714
> (406)388-0827 [home]
> (406)994-3931 [work]
> --
> livecd mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/livecd




-- 
Gareth

*Cloud Computing, OpenStack, Fitness, Basketball*
*OpenStack contributor*
*Company: UnitedStack <http://www.ustack.com>*
*My promise: if you find any spelling or grammar mistakes in my email from
Mar 1 2013, notify me *
*and I'll donate $1 or ¥1 to an open organization you specify.*

<<328.png>>

--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to