VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Grub problem and swap partition  (Read 1011 times)

edie

  • Member
  • *
  • Posts: 1
Grub problem and swap partition
« on: December 30, 2008, 03:43:40 pm »

I have installed VectorLinux on a system on which I already have
WindowsXP and LinuxMint. LinuxMint installed GRUB as bootloader.
During the installation of
Vector I have not installed LILO. Here is the partition table of my HD
Device    Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       69759    35158221    7  HPFS/NTFS
/dev/sda2          222946      232575     4853520   12  Diagnostica Compaq
/dev/sda3           69759      222945    77206027+   5  Esteso
/dev/sda5           69759       89139     9767488+  83  Linux
/dev/sda6           89139       96885     3903763+  82  Linux swap / Solaris
/dev/sda7           96885      135645    19535008+  83  Linux
/dev/sda8          135645      174405    19535008+  83  Linux
/dev/sda9          174405      182155     3905968+  82  Linux swap / Solaris
/dev/sda10         182155      193781     5859472+  83  Linux
/dev/sda11         193781      222945    14699097   83  Linux

/dev/sda9 is the swap partition of Vector
/dev/sda10 is the root partition of Vector (xfs filesystem)
/dev/sda11 is the home partition of Vector (xfs filesystem)

I have tried many modifications in the /boot/grub/menu.lst file of the
Mint installation in order to add Vector but I have not been able to
make it works. The last try was as follows

title           VectorLinux
root            (hd0,4)
kernel  (hd0,9) /boot/vmlinuz-2.6.25.7 root=/dev/sda10
initrd          (hd0,9) /boot/initrd
quiet

Another question: is it possible to use the same swap partition for
Mint and Vector ?
Thanks in advance.
  Regards
   Edie Miglio
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Grub problem and swap partition
« Reply #1 on: December 30, 2008, 04:05:59 pm »


your root should be the partition you want to boot

title           VectorLinux
root            (hd0,9)
kernel  (hd0,9)/boot/vmlinuz root=/dev/sda10
initrd          (hd0,9)/boot/initrd
quiet

You can use the same swap partition
Logged