Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everyone, afetr a long time thinking about a linux os I finally decided on redhat enterprise to dual boot with my win xp on seperate hard drives. It's great ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    Glasgow, Scotland
    Posts
    6

    Brand new start

    Hi everyone,
    afetr a long time thinking about a linux os I finally decided on redhat enterprise to dual boot with my win xp on seperate hard drives. It's great having something new to experiment with but my linux knowledge is practically nil. I know it shouldn't take to long to get used to but one thing I need to know now is how to edit the grub in order to make xp start by default.
    My partner also uses the computer and she prefers to use xp.
    cheers

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    Edit /boot/grub/menu.lst. There's a line that says default = x where x is the OS that will boot by er..., default. Change x to reflect the OS you want to boot by default, remembering that the first listed OS is considered 0, so if there's three OS's listed, the bottom one would be 2.
    Glenn
    Powered by Fedora 16 and Arch Linux

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Location
    Glasgow, Scotland
    Posts
    6

    No such file or directory

    I must be making some kind of schoolboy error. when i go to the terminal and enter the cmd

    Edit/boot/grub/menu.lst

    this is the reply

    [root@x1-6-00-11-d8-c4-ca-d9 ~]# Edit/boot/grub/menu.lst
    bash: Edit/boot/grub/menu.lst: No such file or directory
    [root@x1-6-00-11-d8-c4-ca-d9 ~]#

  4. #4
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    As root, in a terminal, type vi /boot/grub/menu.lst.
    Glenn
    Powered by Fedora 16 and Arch Linux

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    dont forget gain root privileges before editing file. you can use a bit easier editor 'nano'.
    execute this
    Code:
    su -
    nano /boot/grub/grub.conf
    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
  •  
...