You are not logged in.

#1 2006-06-25 02:30:59

rjohnson244
Member
From: Shawnee,KS,USA
Registered: 2005-10-04
Posts: 11

How do I edit menu.lst to reflect the new mkinitcpio?

I am a little confused on what, exactly, to edit in menu.lst.
Where do I put /boot/kernel26.img?
Do I need to remove  "initrd /initrd26.img?
Maybe what I need is an example of a menu.lst with the new mkinitcpio image included.

Offline

#2 2006-06-25 02:33:11

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: How do I edit menu.lst to reflect the new mkinitcpio?

Something like this.....

title  ARCH LINUX
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/hda2 ro quiet vga=791
initrd /boot/kernel26.img

/path/to/Truth

Offline

#3 2006-06-25 02:56:12

rjohnson244
Member
From: Shawnee,KS,USA
Registered: 2005-10-04
Posts: 11

Re: How do I edit menu.lst to reflect the new mkinitcpio?

Thanks, McQueen. I thought maybe that was it, but I have three machines to upgrade and I wanted to be sure.

By the way, LOVED you in "Bullitt"

Offline

#4 2006-06-25 03:44:42

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: How do I edit menu.lst to reflect the new mkinitcpio?

McQueen wrote:

Something like this.....

title  ARCH LINUX
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/hda2 ro quiet vga=791
initrd /boot/kernel26.img

Would it be (?)

title  ARCH LINUX
root   (hd0,1)
kernel /vmlinuz26 root=/dev/hda2 ro quiet vga=791
initrd /kernel26.img

It doesn't have '/boot' now, why add it?  Has this changed?

Offline

#5 2006-06-25 03:49:08

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: How do I edit menu.lst to reflect the new mkinitcpio?

soloport wrote:

It doesn't have '/boot' now, why add it?  Has this changed?

I didn't add it. I don't have /boot as a separate partition.


/path/to/Truth

Offline

#6 2006-06-25 04:35:32

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: How do I edit menu.lst to reflect the new mkinitcpio?

If only there was some sort of online source for Arch where users could add or edit information like this for other users to see...


I am a gated community.

Offline

#7 2006-06-25 06:16:46

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: How do I edit menu.lst to reflect the new mkinitcpio?

McQueen wrote:
soloport wrote:

It doesn't have '/boot' now, why add it?  Has this changed?

I didn't add it. I don't have /boot as a separate partition.

I have a separate /boot partition.  However, I haven't included '/boot' in the initrd reference for quite some time.  Wonder if it's optional.

Offline

#8 2006-06-25 06:32:13

Jarsto
Member
From: Groningen, The Netherlands
Registered: 2005-11-18
Posts: 35
Website

Re: How do I edit menu.lst to reflect the new mkinitcpio?

soloport wrote:
McQueen wrote:
soloport wrote:

It doesn't have '/boot' now, why add it?  Has this changed?

I didn't add it. I don't have /boot as a separate partition.

I have a separate /boot partition.  However, I haven't included '/boot' in the initrd reference for quite some time.  Wonder if it's optional.

Actually having a /boot partition means you don't have to put /boot/ on the front of it. Because your root is the /boot partition and it's not in a /boot/ directory on that partition. The /boot only gets added in your case when it's mounted. So all you need in menu.lst is the partition designation.

My attempt at a schematic representation follows below:

(/dev/hda2)/boot/vmlinuz26 - /dev/hda2 is the / partition, there is no boot partition
(/dev/hda1)/vmlinuz26 - /dev/hda1 is the boot partition, it becomes /boot/vmlinuz26 in the file system only after /dev/hda1 is mounted at /boot


Jarsto

Offline

#9 2006-06-25 11:51:29

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,286

Re: How do I edit menu.lst to reflect the new mkinitcpio?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2006-06-25 13:20:39

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: How do I edit menu.lst to reflect the new mkinitcpio?

soloport wrote:

I have a separate /boot partition.  However, I haven't included '/boot' in the initrd reference for quite some time.

LOL, well you don't want to start now. The only reason the /boot path is necessary in the examples shown is _because_ there is not a separate /boot partition. This is not the case with your partition scheme which means that you do not require that leading path.

The terminal session output from pacman when upgrading to the latest kernel says something about replacing "/boot/initrd26.img with /boot/kernel26.img", but the '/boot' prefix would only apply to people who use it at present. It is not something you would need to add if it is not already there.

So, for those with a separate /boot partition the entry would look similar to this:

title  ARCH LINUX 
root   (hd0,1) 
kernel /vmlinuz26 root=/dev/hda2 ro quiet vga=791 
initrd /kernel26.img

/path/to/Truth

Offline

#11 2006-06-25 17:25:21

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: How do I edit menu.lst to reflect the new mkinitcpio?

McQueen wrote:

So, for those without a separate /boot partition the entry would look similar to this:

title  ARCH LINUX 
root   (hd0,1) 
kernel /vmlinuz26 root=/dev/hda2 ro quiet vga=791 
initrd /kernel26.img

You mean with, right? ;-)

Offline

#12 2006-06-25 18:01:22

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: How do I edit menu.lst to reflect the new mkinitcpio?

echo ">>> To switch to mkinitcpio ramdisk setup please change your bootloader config:"
  echo ">>> - initrd26.img to kernel26.img"
  echo ">>> - initrd26-full.img to kernel26-fallback.img"

and now tell me where /boot is stated wink ?
greetings
tpowa

Offline

#13 2006-06-26 02:50:41

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: How do I edit menu.lst to reflect the new mkinitcpio?

soloport wrote:

You mean with, right? ;-)

I guess two options is one too many for me today.
But thanks...post edited.

tpowa wrote:

and now tell me where /boot is stated wink ?

It's right between the coffee I need and my biscotti.


/path/to/Truth

Offline

Board footer

Powered by FluxBB