Re: HDD install

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

 



I'm on the live, now just have to edit the grub file on hda so that I can boot
into win2k, Fedora 7 or FC3 :)


from the live cd:


[fedora@localhost ~]$ 
[fedora@localhost ~]$ 
[fedora@localhost ~]$ su -
[root@localhost ~]# 
[root@localhost ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/sda2            1913        1925      104422+  83  Linux
/dev/sda3            1926        9729    62685630   8e  Linux LVM

Disk /dev/sdb: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14        3738    29921062+  8e  Linux LVM

Disk /dev/dm-0: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 29.5 GB, 29595009024 bytes
255 heads, 63 sectors/track, 3598 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 1006 MB, 1006632960 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 63.1 GB, 63149441024 bytes
255 heads, 63 sectors/track, 7677 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 1006 MB, 1006632960 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-4 doesn't contain a valid partition table
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# mount /dev/sda2 /mnt/sda2
[root@localhost ~]# mount /dev/sdb1 /mnt/sdb1
[root@localhost ~]# 
[root@localhost ~]# ll /mnt/sda2/grub/grub.conf
-rw------- 1 root root 1122 2007-06-27 03:10 /mnt/sda2/grub/grub.conf
[root@localhost ~]# 
[root@localhost ~]# cat /mnt/sda2/grub/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,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.21-1.3228.fc7)
        root (hd0,1)
        kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.21-1.3228.fc7.img
title Fedora (2.6.21-1.3194.fc7)
        root (hd0,1)
        kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.21-1.3194.fc7.img
title win2k
        rootnoverify (hd0,0)
        chainloader +1


#OLD GRUB ADDED ON
 
title Fedora Core (2.6.20-1.2952.fc6)
        root (hd1,1)
        kernel /vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/VolGroup01/LogVol00 rhgb
quiet
        initrd /initrd-2.6.20-1.2952.fc6.img
 
title win2k
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        chainloader +1
[root@localhost ~]# 
[root@localhost ~]# cat /mnt/sdb1/grub/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 (hd1,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup01/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
        root (hd1,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-1.667.img
title Other
        rootnoverify (hd0,0)
        chainloader +1
[root@localhost ~]# 
[root@localhost ~]# date
Thu Jun 28 06:45:42 EDT 2007
[root@localhost ~]# 
[root@localhost ~]# 




thanks,

Thufir


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

  Powered by Linux