Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-02-2009, 06:10 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 15

Rep: Reputation: 0
sdb2 instead of sda2 is set in grub after every system-update on Debian

Hello all,

my prolem is that after every system update on Debian(Lenny) the path to the root Partition is automatically set from sda2 to sdb2.

Do someone know in which config do i have to enter the right partition(sda2 on my system), so i don't have to change is in grub every time?

Old 10-02-2009, 06:27 AM   #2
LQ Guru
Registered: Oct 2003
Posts: 5,062

Rep: Reputation: Disabled

are you using grub legacy or grub2?

if legacy post your /boot/grub/menu.lst and any /etc/grub file or /etc/default/grub file

if grub2 post your /etc/grub.d/10_linux pls

EDIT assuming its legacy edit this part of the menu.lst

# kopt=root=/dev/sdb2 (to sda2)

Last edited by aus9; 10-02-2009 at 06:37 AM.
Old 10-02-2009, 08:41 AM   #3
LQ Newbie
Registered: Jun 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Thank u,

yes I use legacy,
but I think i failed to explain the problem:

i normally change the sdb2 to sda2 in menu.lst,
and everything runs well, until the next sysem update.

After that i have to edit menu.lst again.

I wanted to know, where this menu.lst changes, after every update come from?

greetz, Alex.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How set up Debian to update from Etch but also use packs from Sid? KingPanda Debian 10 09-29-2008 05:06 PM
Do you know how to set up DHCP on a Debian System? jordansmit935 Linux - Networking 1 03-19-2003 12:43 AM
Do you know how to set up Apache on a Debian system? jordansmit935 Linux - Networking 1 03-19-2003 12:41 AM
DNS on a Debian System. I figure this is the place to ask about how to set it up. jordansmit935 Linux - Networking 1 03-19-2003 12:39 AM
How the heck do i set up FTP on a Debian System? jordansmit935 Linux - Networking 1 03-18-2003 10:10 PM

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration