grub loader


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu grub loader
# 8  
Old 03-27-2009
Code:
root 08e28692-0f58-4adl-a240-7c617d1ff6d8
kernel /boot/vmlinuz-2.6.27-7 generic root=uuid=0828692-0f58-4adl-a-
initrd /boot/initrd.img-2.6.27-7-generic

The first line tells GRUB which partition to use as root for any paths present for this boot option.
The second tells it to use (root)/boot/vmlinuz... as the kernel, with the rest of the line as options for the kernel
The third line finally tells it where to find the initrd image.

Try this: boot, select your boot option, press 'e', select the line starting with 'root', press 'e' again, and delete everything after 'root'. Now you have to enter the partition containing your /boot directory, using GRUBs notation. So if /boot is on /dev/sda1, enter hd(0,0). If it's /dev/sdb1, enter hd(1,0). If it's /dev/sda3, enter hd(0,4). You can also use tab for a bit of auto-complete.
# 9  
Old 03-27-2009
you are the best.......thank you sooooooo much.....its worked.....thank you.
# 10  
Old 03-27-2009
Just don't forget to make this permanent by changing the line in your menu.lst too.
# 11  
Old 03-27-2009
how to i do that?
# 12  
Old 03-27-2009
The same way you removed the Vista entry, edit /boot/grub/menu.lst
# 13  
Old 03-30-2009
thank you. all sorted.
# 14  
Old 04-03-2009
i.e. your ubuntu partition is /dev/sda2. you could press 'e' and input commands after the selection.

root (hd0,1)
kernel /boot/vmlinuz-xxx
initrd /boot/initrd-xxx.img

and then you could boot the system to repair the grub installation by $grub-install script.

you'd better make the ubuntu partion active and install the grub stage1 code on the first sector of /dev/sda2
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

2. Red Hat

Can we specify which grub.conf to use in grub-install.

Hi, Can we specify which grub.conf to use while installing grub on RHEL. We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf. Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies

3. UNIX for Dummies Questions & Answers

SQL*Loader

HI Experts, We have a ksh file named ldr_empdelta.ksh and it is having the SQL*LOADER script as follows. print "LOAD DATA" > $WEDB_GEN/ldrscan.ctl print "INFILE '"$LED_SCAN"/delta/led_del.dat'" >> $WEDB_GEN/ldrparms.ctl print "TRUNCATE" >> $WEDB_GEN/ldrscan.ctl print "PRESERVE BLANKS" >>... (1 Reply)
Discussion started by: ajaykumarkona
1 Replies

4. Solaris

GRUB does not load Ms Winows loader

Hi to everyone ;) Yesterday I had to reinstall my dual boot because my bank smart card reader does not work with Solaris so I reinstalled Solaris after I installed Windows 7. When I turn on PC I get grub stage 2 and Solaris has made an entry in menu.lst but does not boot windows . Each OS... (4 Replies)
Discussion started by: solaris_user
4 Replies

5. Shell Programming and Scripting

sql loader script

hi all i am new to shell scripting. i have 35 flat files delimited files that i have to load in to a table. i was asked to create a shell script that loads the data into the table... could you please help me if you have a script. Also .. how to create logs files...does my sql... (3 Replies)
Discussion started by: rajesh_tns
3 Replies

6. UNIX for Dummies Questions & Answers

Grub and longhorn loader

I currently have Gutsy, Fedora Core 7, and Vista running on the same hard disk and want to add XP to it. XP will of course kill my grub which I can get back with supergrub easily. I have no worries that my two Linux Distros will come back when I do this because Grub only points from the mbr to... (2 Replies)
Discussion started by: dancingfool
2 Replies

7. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies

8. Shell Programming and Scripting

A SQL Loader Script

Hi Guys, I am looking to develop a SQL Loader script that would bascially allow the user to have a txt file (or such) as an input file containing .sql scripts procedures, triggers, bascially anything against a database that could then be run automatically. Let me break it down a bit more,... (2 Replies)
Discussion started by: LiquidChild
2 Replies

9. UNIX for Dummies Questions & Answers

Grub Loader entry overwritten

Hello, One of my frend had a problem. He had Windows XP installed on his system. Then he installed Red Hat Linux 8.0 in one of the partitions. After some time his XP got corrupt and then he reinstalled Windows XP. This over wrote the Grub loader entry, and due to this the grub loader is not... (2 Replies)
Discussion started by: rahulrathod
2 Replies

10. UNIX for Dummies Questions & Answers

boot loader - HELP !!!!

i have installed windows on this c: drive i have linux installed on drive d: when i disconnect d: it boots into c: into windows when i have both drives connected it stops after sys check. how do i get a dual boot goin ???? or a boot loader and if i reinstall linux 7. where should i... (1 Reply)
Discussion started by: perleo
1 Replies
Login or Register to Ask a Question