From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SMC20-0007Fs-8L for mharc-grub-devel@gnu.org; Mon, 23 Apr 2012 01:41:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMC1w-0007FY-Qc for grub-devel@gnu.org; Mon, 23 Apr 2012 01:41:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMC1u-0007TU-Kv for grub-devel@gnu.org; Mon, 23 Apr 2012 01:41:44 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:48478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMC1u-0007TO-Cd for grub-devel@gnu.org; Mon, 23 Apr 2012 01:41:42 -0400 Received: by wgbdr1 with SMTP id dr1so8496549wgb.30 for ; Sun, 22 Apr 2012 22:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=V/Wqt45aZvslJ6lmJMpF4Yby4zMFSnbeh04TBll75l4=; b=E6rqtW/9b3eMQA5CYPH8bKpTFQQxJKd517e6oMwkelKGpuYm/UyC647AR/Yl2fq34I yiqmPOuW4s5H/a6nDZVfXGMNiK3nxtoHg+Sa1hZzAg9nwBv+D6fRXzCZXNc9dxuYbVyt lhMz6NiguMgTTfCWfWlVS5rgCU5XSRxVAJeAJb05bMagpbW4eZQHc6zPx44YaC0ZIq4t GcpOsMcSaaUxnFMq2Zow5ei3fq3Y0U+QxZDThc8OUWl0T1jrev3k2uYyp8suxWeD0Pdp MjL/yUHd1C7Vk3mWBf+R8ZcZkZ1ryonmb74PG+N9ATYGdqQQvZbjNMiedjz7K23VMnYB tBYg== Received: by 10.216.131.24 with SMTP id l24mr8993164wei.76.1335159700189; Sun, 22 Apr 2012 22:41:40 -0700 (PDT) Received: from fedora.x201.phnet (186-118.79-83.cust.bluewin.ch. [83.79.118.186]) by mx.google.com with ESMTPS id gg2sm31405190wib.7.2012.04.22.22.41.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Apr 2012 22:41:39 -0700 (PDT) Message-ID: <4F94EB90.2090708@gmail.com> Date: Mon, 23 Apr 2012 07:41:36 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Some suggestions for improvements in GRUB References: In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigBC75628A382723905CE97637" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 05:41:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBC75628A382723905CE97637 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22.04.2012 20:49, Karthik Krishna wrote: > Hi there, > > I am an engineering student from India. I have been using Linux > Distros for some time. With its varied uses i have come to like GRUB > very much. But i wish to say that there are certain things that are > not user friendly and needs a bit of change. > Such presentations are redundant. We treat the patches all the same independently of who you are. > First of all, if a drive is deleted or edited using any partition > manager, GRUB does not know anything about it. And so in the ensuing > part of booting, it shows a boot error. i have been seeing this as my > friends keep coming to me to "FIX" their boot. The problem lies in > GRUB's steep learning curve in the fixing department. when the grub > error screen comes up, one has to come up with a plan to go to the > internet and see the required grub error codes and relevant data to > fix it. Thereby restoring grubs working. But the thing is you need an > another PC/laptop with a working internet to see the codes or relevant > data. i have been doing this for some time. i see that people who wish > to use Linux have a hard time using it fully, especially when it comes > to its boot-loader. GRUB2 has no error codes at all. > > The onset of boot-loader problems really bogs down the motivation to > move forward. > > So I wish to develop GRUB a bit so that it may be easy to use even in > the case of error handling. I just dont know where to start. I know > assembly, a bit of c and c++. I have heard of nasm and used gcc. So > how do i develop it? I wanted to make a code that automatically > detects partitions and checks it with a library of partitions to see > if it has been changed or not. So that way the user is given the > freedom of not doing anything rather letting GRUB doing the work for > the user. i can develop the code using a simple algorithm. i want to > make grub more smarter when it comes to handling errors and freeing > the user. > In most places GRUB2 uses UUIDs which shouldn't change on partition modifications. The only place another form is used is on prefix specification and platform-specific install (embedding zone, EFI partition, PreP and so on). It's possible to add --no-use-partition-number to grub-install for the first part, the patch is 3-5 lines, but it increases kernel size. As for the second, there is no way around it as on most platforms it's tied in to platform limitations. You need to rerun grub-install after important partitioning changes. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigBC75628A382723905CE97637 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk+U65AACgkQNak7dOguQgmAaQD/c3arIkVEzjebFZOi+JuSCCEi ksyz/IpNcGztudEcAQgA/RJUUCRIOeI3Ljqf6kWi9K/0xlAdUmhHLJJTkHKzEq30 =e06/ -----END PGP SIGNATURE----- --------------enigBC75628A382723905CE97637--