Re: How to install LVM partition? --related

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

I have fc3 on /dev/sda. I just successfully installed fc5 on a new
drive /dev/sdb, but on reboot th e new os does not show up on the grub
choose and boot screen.

Info:

/boot/grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Memtest86+ v1.65
	kernel /memtest86+-1.65
title Fedora Core (2.6.11-11_FC3asl)
	root (hd0,0)
	kernel /vmlinuz-2.6.11-11_FC3asl ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.11-11_FC3asl.img


GNU Parted 1.6.15
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/sda ---fc3

(parted) print

Disk geometry for /dev/sda: 0.000-78533.437 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975  78528.669  primary               lvm

(parted) select /dev/sdb ---fc5

Using /dev/sdb

(parted) print

Disk geometry for /dev/sdb: 0.000-78533.437 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975  78528.669  primary               lvm
(parted)

[root@c-65-34-233-245 dev]# ls

adsp           fd0u1743  md12       port     tty11  tty49   ttyS28  ttyS65
audio          fd0u1760  md13       ppp      tty12  tty5    ttyS29  ttyS66
cdrom          fd0u1840  md14       ptmx     tty13  tty50   ttyS3   ttyS67
cdwriter       fd0u1920  md15       pts      tty14  tty51   ttyS30  ttyS68
console        fd0u2880  md16       ram      tty15  tty52   ttyS31  ttyS69
core           fd0u3200  md17       ram0     tty16  tty53   ttyS32  ttyS7
cpu            fd0u3520  md18       ram1     tty17  tty54   ttyS33  ttyS70
device-mapper  fd0u360   md19       ram10    tty18  tty55   ttyS34  ttyS71
dm-0           fd0u3840  md2        ram11    tty19  tty56   ttyS35  ttyS72
dm-1           fd0u720   md20       ram12    tty2   tty57   ttyS36  ttyS73
dm-2           fd0u800   md21       ram13    tty20  tty58   ttyS37  ttyS74
dm-3           fd0u820   md22       ram14    tty21  tty59   ttyS38  ttyS75
dsp            fd0u830   md23       ram15    tty22  tty6    ttyS39  ttyS8
dvd            floppy    md24       ram2     tty23  tty60   ttyS4   ttyS9
event0         full      md25       ram3     tty24  tty61   ttyS40  urandom
event1         hda       md26       ram4     tty25  tty62   ttyS41  vcs
fd             hiddev0   md27       ram5     tty26  tty63   ttyS42  vcs1
fd0            hpet      md28       ram6     tty27  tty7    ttyS43  vcs2
fd0CompaQ      initctl   md29       ram7     tty28  tty8    ttyS44  vcs3
fd0d360        input     md3        ram8     tty29  tty9    ttyS45  vcs4
fd0D360        kmem      md30       ram9     tty3   ttyS0   ttyS46  vcs5
fd0D720        kmsg      md31       ramdisk  tty30  ttyS1   ttyS47  vcs6
fd0h1200       log       md4        random   tty31  ttyS10  ttyS48  vcs7
fd0h1440       loop0     md5        root     tty32  ttyS11  ttyS49  vcsa
fd0H1440       loop1     md6        rtc      tty33  ttyS12  ttyS5   vcsa1
fd0h1476       loop2     md7        sda      tty34  ttyS13  ttyS50  vcsa2
fd0h1494       loop3     md8        sda1     tty35  ttyS14  ttyS51  vcsa3
fd0h1660       loop4     md9        sda2     tty36  ttyS15  ttyS52  vcsa4
fd0h360        loop5     mem        sdb      tty37  ttyS16  ttyS53  vcsa5
fd0H360        loop6     mice       sdb1     tty38  ttyS17  ttyS54  vcsa6
fd0h410        loop7     mixer      sdb2     tty39  ttyS18  ttyS55  vcsa7
fd0h420        lp0       mouse0     shm      tty4   ttyS19  ttyS56  VolGroup00
fd0h720        lp1       mouse1     snd      tty40  ttyS2   ttyS57  VolGroup01
fd0H720        lp2       net        stderr   tty41  ttyS20  ttyS58  XOR
fd0h880        lp3       null       stdin    tty42  ttyS21  ttyS59  zero
fd0u1040       MAKEDEV   nvidia0    stdout   tty43  ttyS22  ttyS6
fd0u1120       mapper    nvidiactl  systty   tty44  ttyS23  ttyS60
fd0u1440       md0       parport0   tty      tty45  ttyS24  ttyS61
fd0u1660       md1       parport1   tty0     tty46  ttyS25  ttyS62
fd0u1680       md10      parport2   tty1     tty47  ttyS26  ttyS63
fd0u1722       md11      parport3   tty10    tty48  ttyS27  ttyS64

[root@c-65-34-233-245 dev]# cd VolGroup00

[root@c-65-34-233-245 VolGroup00]# ls

LogVol00  LogVol01

[root@c-65-34-233-245 dev]# cd VolGroup01

[root@c-65-34-233-245 VolGroup01]# ls

LogVol00  LogVol01

It looks like I need to add to and rewrite to my /boot/grub.conf file.
I am new to Linux and
just want to be sure. My boot sequence starts with the floppy but I
don't know how grub decides which file to read.

I tried the rescue cd to see what the fc5 /boot/grub.conf file says
but I am new to the command line and could't bring it up.

can anyone help me?

thank you,

-ron-


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux