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  (Read 2193 times)

Codo

  • Member
  • *
  • Posts: 50
Grub
« on: September 19, 2007, 10:19:26 am »

Hello everbody,
I need to install another distro (kanotix 2007) in a partition hda5: my questions is: VLsoho is installed in hda1 with grub in MBR, this new installation have to install in the hda5 partition? thanks... :-[
Logged
There are many things that I must  do before I die. But I'm Brazilian and I never give up.
Vector Standard 6.0 - Xfce

metvas

  • Vectorite
  • ***
  • Posts: 312
Re: Grub
« Reply #1 on: September 19, 2007, 12:01:10 pm »

Hi:
Can you give us the current layout of your disk set up now. Also what you are using to partition.
Logical
Extended
Primary
thxs
Logged
Knowledge is Power, share it.
Be the change you want to see in the World

Codo

  • Member
  • *
  • Posts: 50
Re: Grub
« Reply #2 on: September 19, 2007, 12:49:20 pm »

hy,
this is the information:
 hda1 boot primary linux reiserfs
 hda5 logical linux ext3
 hda3 primary linux swap
ok?
Logged
There are many things that I must  do before I die. But I'm Brazilian and I never give up.
Vector Standard 6.0 - Xfce

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: Grub
« Reply #3 on: September 19, 2007, 01:43:33 pm »

Aren't hda > 4 = extended partitions?  Which would mean hda5 is extended, not logical (unless I'm totally wrong - wouldn't be the first time ;D )

I don't fully understand the question at hand.  Is the question: Can I install Kanotix on hda5?  If so, then I can't see any reason why not - just need to manually add the boot info to grub.
Logged

metvas

  • Vectorite
  • ***
  • Posts: 312
Re: Grub
« Reply #4 on: September 19, 2007, 03:13:17 pm »

If you have the space sure? Sorry I assumed you had a dual boot with MS.
Logged
Knowledge is Power, share it.
Be the change you want to see in the World

Codo

  • Member
  • *
  • Posts: 50
Re: Grub
« Reply #5 on: September 20, 2007, 05:51:45 am »

Guys, I obtain success when I go to VASM and restore the grub of vector, but now I can't to acess to kanotix because is an error 15...!?? The partitions is right. :-\ i think, i'm going to studied the manual for know what's going on! ;D
Logged
There are many things that I must  do before I die. But I'm Brazilian and I never give up.
Vector Standard 6.0 - Xfce

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: Grub
« Reply #6 on: September 20, 2007, 09:16:03 am »

Please post to this thread the output of the following commands run as root in a terminal (you do that by going into a terminal, run the commands below, highlight the text with your mouse, switch back to the browser and paste the text with your middle mouse button):

Code: [Select]
cat /boot/menu.lst
fdisk -l
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

Codo

  • Member
  • *
  • Posts: 50
Re: Grub
« Reply #7 on: September 21, 2007, 07:47:43 am »

hello guys,
I had success in this case of booting two distros (kanotix and vector) because I did go to VASM and restored a bootloader and chose grub, so I put the diretion of kanotix and well, works! my boot now is:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'vgrubconf'.  Wed 19 Sep 2007 05:04:50 PM BRT
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.3605'.  You can restore it like this.
# dd if=mbr.hda.3605 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
timeout 60
default 0
splashimage=(hd0,0)/boot/bitmap/boot.xpm
#color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
  title Linux on (/dev/hda1)
  root (hd0,0)
  kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
  title Linux on (/dev/hda5)
  root (hd0,4)
  kernel /boot/vmlinuz-2.6.22-10-kanotix root=/dev/hda5 ro vga=normal
  initrd      /boot/initrd.img-2.6.22-10-kanotix

# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)

 :) thanks and sorry
« Last Edit: September 21, 2007, 07:49:42 am by Codo »
Logged
There are many things that I must  do before I die. But I'm Brazilian and I never give up.
Vector Standard 6.0 - Xfce