Hey all,
I have decided to install DSL onto my hard drive (install to hard drive, not a frugal install), and am now trying to edit GRUB so as I can boot into DSL. I already have a GRUB install from which I boot XP and Ubuntu, but I am unable to boot DSL now.
They are set up as follows:
SATA disk
Partition 1 - XP
Partition 2 - Ubuntu
Partition 3 - Swap
Partition 4 - /home for Ubuntu
IDE disk
Part 1 - Storage for XP
Part 2 - DSL
Part 3 - Swap
From the grub command line I enter:
grub> root (hd1,1)
grub> kernel /boot/linux24
and it starts loading DSL, but eventually comes up with
kmod: failed to exec /sbin/modprobe -s -k ide-cd, errno=2
VFS: Cannot open root device "" or 03:01
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 03:01
Or entering:
grub> root=/dev/hdb2
grub> kernel /boot/linux24
gives me an error (in GRUB) of
Error 11: Unrecognised device string
I had just finished install to hard drive from DSL and was rebooting where it said the install needed to be finished, but I am unable to get into the installed version.
Sorry for the wall of text, anyone know what I need to do or any suggestions?
GRUB problemBooting DSL from hard drive issue
Page 1 of 1
5 Replies - 1245 Views - Last Post: 23 July 2007 - 11:14 PM
Replies To: GRUB problem
#2
Re: GRUB problem
Posted 22 July 2007 - 06:16 AM
Ok, I have got it to work - but I'm not sure why it works...
/boot/grub/menu.lst entry for DSL now reads:
root (hd1,1)
kernel /boot/linux24 ro root=/dev/hdb2
If someone could explain to me why root=/dev/hdb2 has changed anything I would greatly appreciate it. I thought that the above line root (hd1,1) mounted the root drive?
/boot/grub/menu.lst entry for DSL now reads:
root (hd1,1)
kernel /boot/linux24 ro root=/dev/hdb2
If someone could explain to me why root=/dev/hdb2 has changed anything I would greatly appreciate it. I thought that the above line root (hd1,1) mounted the root drive?
This post has been edited by enpey: 22 July 2007 - 06:17 AM
#3
Re: GRUB problem
Posted 22 July 2007 - 08:16 PM
When you usually boot into linux you boot into an initial ram disk (initrd) which sets somethings up (like driver modules for your harddisk or whatever) it is a mini root file system. Then it does a switch root to the real root specified in the kernel parameter.
Basically you are telling the kernel where to look for the rest of the system.
Basically you are telling the kernel where to look for the rest of the system.
#4
Re: GRUB problem
Posted 23 July 2007 - 02:17 AM
Nova Dragoon, on 23 Jul, 2007 - 01:16 PM, said:
When you usually boot into linux you boot into an initial ram disk (initrd) which sets somethings up (like driver modules for your harddisk or whatever) it is a mini root file system. Then it does a switch root to the real root specified in the kernel parameter.
Basically you are telling the kernel where to look for the rest of the system.
Basically you are telling the kernel where to look for the rest of the system.
So why was I having an issue with that? hdb2 is hd(1,1).
#5
Re: GRUB problem
Posted 23 July 2007 - 01:56 PM
you needed to add the parameters to the kernel line
the (ro root=/dev/hdb2)
the (ro root=/dev/hdb2)
Page 1 of 1

New Topic/Question
This topic is locked



MultiQuote



|