[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Weird looking partition table
- From: Mark Knecht <markknecht attbi com>
- To: redhat-install-list redhat com
- Subject: RE: Weird looking partition table
- Date: 30 May 2003 16:43:18 -0700
On Fri, 2003-05-30 at 14:19, Albert DE WINT wrote:
> Over here it's about 23.20.
>
> Take your time. I don't need it urgently, on the contrary.
> I don't miss any Mandrake features, since I got them all in RED HAT 9.
>
> One of the nasty things in Mandrake 9 was KDE's file browser crashing
> all the time. I have the same experience in RH9 though.
> I'd like to start another thread on that, but don't want to bother this
> list.
>
> Need some sleep now
>
> Have a nice day
>
> Albert
Albert,
OK, so here's the way I do it in all it's bloody glory. Turns out
right now my Mandrake distribution isn't included in my Redhat grub
file. I use System Commander 7, so I can boot directly into that
distribution using SC7. Mandrake is on /dev/hda5. It is marked as
bootable.
SC7 allows me to boot into Redhat's grub, and from there I can choose
Redhat (/dev/hda8) or Gentoo (/dev/hda9+hda10) , so this example shows
two distributions about 5 kernels + DOS. (1 RH and 4 Gentoo - I keep SC7
in the DOS partition and run Norton Ghost from there.
NOTE: - Redhat's default install (above 8GB) places /boot in the root
partition. (Or I did...) Gentoo's installation makes a separate /boot
partition (hda9) and the root partition. (hda10)
One thing I like about Gentoo is that it mounts /boot, boots the system,
then automatically unmounts /boot. This way, you could erase the whole
system and still boot since /boot isn't mounted when you are running. It
does require that yo mount /boot when you build a new kernel, but that's
OK.
Anyway, I hope this helps. I really think all the information is down
there if you can manage to follow your way through it.
Good luck. Ask questions. I'll be around over the weekend.
Cheers,
Mark
Disk /dev/hda: 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/hda1 1 20 160618+ 6 FAT16
/dev/hda2 * 21 9729 77987542+ 5 Extended
/dev/hda5 * 21 708 5526328+ 83 Linux
/dev/hda6 709 868 1285168+ 82 Linux swap
/dev/hda7 9475 9729 2048256 83 Linux
/dev/hda8 * 869 1633 6144831 83 Linux
/dev/hda9 1634 1646 104391 83 Linux
/dev/hda10 1647 2376 5863693+ 83 Linux
Partition table entries are not in disk order
Gentoo fstab:
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/hda9 /boot ext3 noauto,noatime 1 1
/dev/hda10 / ext3 noatime 0 0
/dev/hda6 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
proc /proc proc defaults 0 0
/dev/hda7 /mnt/data ext2 auto,user,exec 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Mandrake / (root) mounted under Gentoo:
Wizard mnt # mount -t ext3 /dev/hda5 /mnt/other
Wizard mnt # cd other/
Wizard other # ls
bin boot dev etc halt home initrd lib mark mnt opt proc
root sbin tmp usr var
Wizard other #
Mandrake fstab:
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount
dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0
0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/hda7 /home ext2 defaults 0 0
Redhat / (root) mounted under Gentoo:
Wizard root # mount -t ext3 /dev/hda8 /mnt/other
Wizard root # cd /mnt/other
Wizard other # ls
bin boot dev etc halt home initrd lib lost+found mark misc
mnt opt proc root sbin tmp usr var
Wizard other #
Redhat fstab:
Wizard other # more etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda7 /home ext2 defaults 0 0
Redhat grub.conf:
Wizard grub # pwd
/mnt/other/boot/grub
Wizard grub # ls
device.map fat_stage1_5 grub.conf menu.lst
reiserfs_stage1_5 stage1 vstafs_stage1_5
e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5
splash.xpm.gz stage2 xfs_stage1_5
Wizard grub # more grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,7)
# kernel /boot/vmlinuz-version ro root=/dev/hda8
# initrd /boot/initrd-version.img
#boot=/dev/hda8
default=4
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,7)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Gentoo Linux (2.4.21)
root (hd0,8)
kernel (hd0,8)/boot/bzImage ro root=/dev/hda10
title Gentoo Linux DRITEST
root (hd0,8)
kernel (hd0,8)/boot/bzImage_DRITEST ro root=/dev/hda10
title Gentoo Linux apmDRITEST
root (hd0,8)
kernel (hd0,8)/boot/bzImage_apmDRITEST ro root=/dev/hda10
title Gentoo Linux apmDRITESTalsa
root (hd0,8)
kernel (hd0,8)/boot/bzImage_apmDRITEST2 ro root=/dev/hda10
title DOS
rootnoverify (hd0,0)
chainloader +1
Wizard grub #
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]