On Fri, Sep 20, 2002 at 07:11:03AM +0530, little wrote:
> [snipped]
> but i want to create image of lilo i.e. of boot sector which 
> is located on first sector of  hda10  so  now if i issue the 
> command dd if=/dev/hda10 of=/tmp/temp.bin bs=512 count=1
> file tmp.bin is created but its empty ?
> 
---end quoted text---

LILO boot sector would not be automatically at the boot sector
of the root partition unless you specifically placed it there.
If you are booting through LILO it would be at the MBR.

You need to edit lilo.conf to point to the  root/ boot  parti-
tion and then re-run LILO as per LOST #298 below.

Incidentally, hda10 would be a Logical-extended  partition and
therefore without a boot record. If you  put a  bootable OS on
an extended partition, it will go to the  boot  record  of the
mother Extended partition and not to individual  logicals that
may lie under it.  There would be no boot record for hda10 per
se and would get a zero byte file.

HTH

Bish

--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : LILO on boot sector of root partition          LOST #298

Placing LILO on root partition instead of MBR maybe needed for
a dual boot system where the other OS is at MBR.After checking
/etc/lilo.conf, do: '#lilo -v -v -C /etc/lilo.conf -r /' .. If
/boot is the bootable partition change / to /boot.

####<[EMAIL PROTECTED]>####################################
:



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to