Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
MikeKOffline
15 Post subject: messed the grub a little bit..(solved)  PostPosted: 11.10.2010, 16:21



Joined: 2010-10-11
Posts: 20

Status: Offline
Have installed it with opensuse, and disliked graficless bootloader, and switched in opensuse back, but opensuse use legacy grub and so I can't just grub-update... I tried billion of various
      Code:

title Aptosid
    root (hd1,0)
    chainloader +1

in my gedit /boot/grub/menu.lst but nothing works... either get non executable error 13, or just rebooting..

my fdisk -l


      Code:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00089712

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2103296   82  Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2   *         262        2873    20972544   83  Linux
/dev/sda3            2873       30402   221121536   83  Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000001

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       19456   156280288+   7  HPFS/NTFS

Disk /dev/sdc: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc279b45f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       30401   244196001   83  Linux


can someone help, please.
 
 View user's profile Send private message  
Reply with quote Back to top
evnuOffline
Post subject: RE: messed the grub a little bit..  PostPosted: 11.10.2010, 16:56



Joined: 2010-09-12
Posts: 5

Status: Offline
I assume that you used grub2 as your bootloader for aptosid. The given boot entry is from your opensuse installation?

Did you install your aptosid bootloader into the MBR (master boot record), or into the partion? If you installed it into the mbr, it was overwritten by the opensuse grub. If that's the case, you have to add a grub entry pointing to the actual kernel and initrd:

      Code:

title  Aptosid
root   (hdyourdevice,yourpartition)
kernel /yourkernelroot=/yourrootdevice vga=773 ro
initrd /yourinitrd


Remember that grub numbers devices beginning with 0. So if you installed aptosid onto your first hard drive, you have to refer to it as (hd0,sthsth)


evnu
 
 View user's profile Send private message  
Reply with quote Back to top
MikeKOffline
Post subject: Re: RE: messed the grub a little bit..  PostPosted: 11.10.2010, 17:16



Joined: 2010-10-11
Posts: 20

Status: Offline
      evnu wrote:
I assume that you used grub2 as your bootloader for aptosid. The given boot entry is from your opensuse installation?

Did you install your aptosid bootloader into the MBR (master boot record), or into the partion? If you installed it into the mbr, it was overwritten by the opensuse grub. If that's the case, you have to add a grub entry pointing to the actual kernel and initrd:

      Code:

title  Aptosid
root   (hdyourdevice,yourpartition)
kernel /yourkernelroot=/yourrootdevice vga=773 ro
initrd /yourinitrd


Remember that grub numbers devices beginning with 0. So if you installed aptosid onto your first hard drive, you have to refer to it as (hd0,sthsth)


evnu


Thank you vm.

ActuallY i am not sure to where did I install grub2 to MBR or not...

Well I trying with kernel, but it's kep me say error 15 (can not find file)
      Code:

title Aptosid
    root(hd2,0)
    kernel /boot/vmlinuz-2.6.35-4.slh.9-aptosid-686 root=/dev/disk/by-id/ata-HDT722525DLAT80_VDR41LT8DJ6DXH-part1
    initrd /boot/initrd.img-2.6.35-4.slh.9-aptosid-686


The problem as I understand coming from root=/ I am nto sure what to write there, trying to fill it as it filled for other drives with changing IDs but no luck.
 
 View user's profile Send private message  
Reply with quote Back to top
MikeKOffline
Post subject: RE: Re: RE: messed the grub a little bit..  PostPosted: 11.10.2010, 17:23



Joined: 2010-10-11
Posts: 20

Status: Offline
Uh oh, guess form where I writing it Smile
After u said that Ihave to point to actuall kernel, I tried it again but made the path accroding to my opesuse mount which is like /aptosid/ and it worked Smile
Now I going to install the nvidia driver according to manual Smile and also try the luck with lotus-notes Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio