LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-02-2003, 08:58 PM   #1
flv7a
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:
http://www.linux.org/docs/ldp/howto/...-Loader-5.html
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
(parted)

Thanks,

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

Original Poster
Rep: Reputation: 0
btt
 
  


Reply



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 10:35 PM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 09:36 AM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 08:40 PM
Boot problem - I changed my filesystem location Malice132 Mandriva 3 09-18-2004 09:38 PM
bootsector corruption ragchan Linux - Newbie 4 07-29-2004 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 AM.

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