Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
this is my menu.lst.: Code: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    55

    help me edit my menu.lst



    this is my menu.lst.:
    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,1)
    #          kernel /vmlinuz-version ro root=/dev/mapper/vg_enhu-lv_root
    #          initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,1)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.29.4-167.fc11.i586)
            root (hd0,1)
            kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro root=/dev/mapper/vg_enhu-lv_root rhgb quiet
            initrd /initrd-2.6.29.4-167.fc11.i586.img
    title Other
            rootnoverify (hd0,0)
            chainloader +1
    ~
    ~
    ~
    ~
    i have my windows XP on the same drive yet another partition.
    how can i edit this menu.lst so that when i turn it on it will provide me an option which OS to boot?

    this is also my: fdisk -l

    Code:
    [root@enhu enhu]# fdisk -l                     
    
    Disk /dev/sda: 20.0 GB, 20059053568 bytes
    255 heads, 63 sectors/track, 2438 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x58615861                     
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1395    11205306    7  HPFS/NTFS
    /dev/sda2   *        1396        1421      204800   83  Linux    
    /dev/sda3            1421        2438     8173097+  8e  Linux LVM
    
    Disk /dev/sdb: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x1fa250c1
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        4677    37567971    7  HPFS/NTFS
    /dev/sdb2            4678        4865     1510110    f  W95 Ext'd (LBA)
    /dev/sdb5            4678        4865     1510078+   7  HPFS/NTFS
    
    Disk /dev/dm-0: 7293 MB, 7293894656 bytes
    255 heads, 63 sectors/track, 886 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/dm-0 doesn't contain a valid partition table
    
    Disk /dev/dm-1: 1073 MB, 1073741824 bytes
    255 heads, 63 sectors/track, 130 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/dm-1 doesn't contain a valid partition table
    [root@enhu enhu]#

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,944
    First Line I would change with my favorite text editor as root would be

    timeout=5
    to something like

    timeout=25
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    As rokytnji implied, grub is at some point waiting for you to answer which one of your operating systems you want to enter. You just might not be seeing it if you're not looking at the screen for 5 seconds. So if you change
    Code:
    timeout=25
    as rokytnji said, you will have 25 seconds to press the up and down arrows to select an OS.

    There's a ton of handy info in

    Code:
    info grub
    about the different grub options.

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,942
    Assuming you are able to boot Fedora? Can you boot xp? The "title Other" entry in your menu.lst can just be changed in a text editor as root to "xp" or whatever you want. What's on the second drive? Another windows OS or just data? I noticed you don't have the windows partition marked active on the 20GB drive.

  5. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    55
    Yeah i can boot fedora. i have just change the time out to 25 and its a pain in the *** when you dont have a choice but to use vi.

    if i change the others to XP, it will then give me the option though timeout is just 5?

    25 sec is just too long though because i sometimes wanted to use window


    thanks.


    on the 2nd drive are just files

  6. #6
    Just Joined!
    Join Date
    May 2009
    Posts
    55
    Quote Originally Posted by yancek View Post
    Assuming you are able to boot Fedora? Can you boot xp? The "title Other" entry in your menu.lst can just be changed in a text editor as root to "xp" or whatever you want. What's on the second drive? Another windows OS or just data? I noticed you don't have the windows partition marked active on the 20GB drive.
    I'm not sure what you mean windows partition that's marked active in the 20gb drive, but that's probably the caause why it didn't give a an option to boot to the other OS. but i'm sure my xp is in the 20gb. as i only give 8gb for the fedora.

    if my window partition is not active in the 20gb drive, how can i activate it?

    thanks

  7. #7
    Just Joined!
    Join Date
    May 2009
    Posts
    55
    it did give me the option now. i figure 5 seconds is too short that i haven't read the text i the monitor and i boots the fedora..after editing it to 25, then press enter. it did prompt me the option.. thanks.


  8. #8
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,944
    Yeah i can boot fedora. i have just change the time out to 25 and its a pain in the *** when you dont have a choice but to use vi.
    I was confused and concerned by that statement as I don't know what vi stands for.
    There's a ton of handy info in

    Code:

    info grub

    about the different grub options.
    is correct and it won't hurt to read it.

    it did give me the option now. i figure 5 seconds is too short that i haven't read the text i the monitor and i boots the fedora..after editing it to 25, then press enter. it did prompt me the option.. thanks.
    Glad you figured it out.

    Now if you wnat to have Windows entry say something like

    enhus rockin XP
    Insert/edit the entry from

    title Other
    to
    title enhus rockin XP
    and that is what will show up in Grubs entry
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  9. #9
    Just Joined!
    Join Date
    May 2009
    Posts
    55
    Great. I should name my xp that way,, I can impress my girl
    vi is a text editor. I've really search for the tutorial the whole hour just to learn to edit the menu.lst. i think thats the built-in editor for all linux distro.

    i did use vi for i still don't know how to install some software using fedora.


    thanks

  10. #10
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,944
    Can't help ya there. Start a new thread on how to install software in fedora. It should have a package manager and command line uses yum. I don't run rpm based distros so I am clue less about the correct procedures. As far as editors go. I use leafpad or mousepad editors. They are easier for me than vi.

    Like I said. Open up a new thread. Try to be as detailed as possible as to what you want to install and what Fedora release OS you are using. You will find the folks here very knowledgable, helpful, and polite. Happy Trails, Rok
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

Page 1 of 2 1 2 LastLast

Posting Permissions

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