Find the answer to your Linux question:
Results 1 to 6 of 6
The situation is the following: >> Had WinXP installed. >> Installed Ubuntu >> Later on installed Debian >> Debian had it's own GRUB which detected all three OS's but was ...
  1. #1
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474

    Re-Installed GRUB, Debian not on list.

    The situation is the following:

    >> Had WinXP installed.
    >> Installed Ubuntu
    >> Later on installed Debian
    >> Debian had it's own GRUB which detected all three OS's but was first on the list.

    I decided to go to Ubuntu and run sudo grub-install /dev/sda because I just wanted Ubuntu on top of the list and I thought that would prevent me from editing the physical GRUB boot order. However now only Ubuntu and WinXP are on the list. I suppose because that's all Ubuntu detected upon installation because Debian wasn't on at the time.

    <>> QUestion is, how do I add Debian to the list now ? I've got two SATA HDD's.
    sda1 = Windows
    sda5 = (Don't ask me why it's five - There is no 'sda2') Is my second drive on Windows (For software etc.)
    sdb1 = Is my music HDD (NTFS) which I use via Linux as well to play my music.
    sdb2 = This is my Debian installation.

    Ubuntu is on sda somewhere, it was the last partition (besides for swap) so it's either sda2 or sda-something-else. However I suppose the important part is that we know Debian is on sdb2 ?

    If someone could please help me with this. Not a major problem but one I'd like to have sorted and then I can learn in the process

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you have to edit Ubuntu /boot/grub/menu.lst file. mount Debian's /boot partition ( in case, you didn't create /boot partition of Debian, mount its / (root) partition ) and open debian's menu.lst file. copy title, root, kernel and initrd line and paste in Ubuntu's menu.lst.
    save file and reboot.

    you could move Ubuntu entry at top in Debian's GRUB too. GRUB reads menu.lst file and place entries in GRUB Menu accordingly. move title block at the Top ( i mean, make it First title block in file ) and GRUB menu will display it.




    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Hmm, thanks. That menu.lst looks like greek to me. Is it a MUST to have the kernel version etc etc ?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Is it a MUST to have the kernel version etc etc ?
    yes !
    post the menu.lst file here.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Never mind, I managed thanks for all the help

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Well Done netstrider !






    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...