Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-02-2003, 09:58 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 20

Rep: Reputation: 0
bootsector location with lvm filesystem

For years I've been dual booting systems using the NT boot loader as described in this HOWTO:
which basically boils down to striping the bootsector out of the root filesystem using a command such as:
dd if=/dev/hda2 of=bootsect.lin bs=512 count=1
and then loading the generated file from the NT boot loader.

However, on my latest system, I chose to use logical volumes, which seems not to be compatible with the approach above. When I load the files, I'm presented with the grub prompt (instead of the graphical interface).

Thus my questions would be:
1. Can this method be used when my linux partitions are on a logical volume group?
2. If so, what device should be used in the command above?
3. Is 512 bytes still the appropriate size?

partitions from parted:
Using /dev/hda
Information: The operating system thinks the geometry on /dev/hda is
5168/240/63. Therefore, cylinder 1024 ends at 7559.999M.
(parted) print
Disk geometry for /dev/hda: 0.000-38154.375 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 18722.812 primary ntfs
3 18722.812 18826.171 primary ext3 boot
4 18826.172 38146.992 extended lba
5 18826.203 29066.132 logical lvm
6 29066.164 38146.992 logical ext3
2 38146.992 38154.375 primary


Old 11-07-2003, 11:53 AM   #2
LQ Newbie
Registered: Apr 2003
Posts: 20

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM and shrinking the root filesystem coreychch Linux - Newbie 5 11-22-2015 11:35 PM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 10:36 AM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 09:40 PM
Boot problem - I changed my filesystem location Malice132 Mandriva 3 09-18-2004 10:38 PM
bootsector corruption ragchan Linux - Newbie 4 07-29-2004 03:16 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration