[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to boot alternative Debian version safely?



On Friday 11 February 2005 04:49, Anthony Campbell wrote:
>On 11 Feb 2005, Clive Menzies wrote:
>> On (11/02/05 08:16), Andreas Klein wrote:
>> > > So why does the system boot?
>> >
>> > As I can see /dev/hda13(hd0,12) is your /boot Partition and
>> > /dev/hda14(hd0,13) is /.
>> >
>> > That mean if you want the Path in your /boot Partitions you must
>> > skip the /boot in the Path.
>> >
>> > Examble:
>> > /boot/vmlinuz-2.6.10-9-amd64-k8 => /vmlinuz-2.6.10-9-amd64-k8
>> >
>> > Simple isn't it?
>>
>> D'oh ...of course ;)
>>
>> Thanks
>>
>> Clive
>
>Thanks to all for replies. I've now managed to get Grub to access
> the partition but I get the following kernel error:
>
> Cannot open root device "hda7" or unknown block (0,0)
>
>My Grub entry is as follows:
>
>
>title   Debian test system, kernel 2.6.8-1-386
>root        (hd0,6)
>kernel  /boot/vmlinuz-2.6.8-1-386 root=/dev/hda7 ro
>savedefault
>boot
>
>Anyone spot the error here?
>
>Anthony
Did your email agent wrap the above?

In any event, you are specifying a seperate boot partition with the 
line 'root (hd0,6)' above, so the next 'kernel' line s/b relative to 
that. In other words:

kernel /vmlinuz-2.6.8-1-386 ro root=/dev/hda7

because there is not a /boot directory within the /boot partition, 
then the path to vmlinuz becomes relative to the 'root (hd0,6)' 
aka /boot partition.  I assume your '/' partition is /dev/hda7?

And what is the
savedefault
boot
??

The normal grub install has a few lines of comments above the actual 
entries, and I'm wondering where they went.

>--
>ac@acampbell.org.uk    ||  http://www.acampbell.org.uk for
>using Linux GNU/Debian ||  weblog, book reviews, electronic
>Windows-free zone      ||  books and skeptical articles

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.33% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.



Reply to: